diff --git a/Makefile b/Makefile index 062587bdc..beb0fd8db 100644 --- a/Makefile +++ b/Makefile @@ -85,7 +85,7 @@ clean: #cd bindings/ruby; $(MAKE) clean; rm -rf Makefile $(MAKE) -C bindings/python clean $(MAKE) -C bindings/csharp clean - $(MAKE) -C bindings/java clean + #$(MAKE) -C bindings/java clean $(MAKE) -C bindings/ocaml clean $(MAKE) -C tests clean diff --git a/arch/AArch64/AArch64BaseInfo.c b/arch/AArch64/AArch64BaseInfo.c index b63094d5e..bbed5a8ee 100644 --- a/arch/AArch64/AArch64BaseInfo.c +++ b/arch/AArch64/AArch64BaseInfo.c @@ -41,7 +41,7 @@ static bool compare_lower_str(char *s1, char *s2) { char *lower = strdup(s2), *c; for (c = lower; *c; c++) - *c = tolower(*c); + *c = tolower((int) *c); bool res = (strcmp(s1, lower) == 0); free(lower); diff --git a/arch/X86/mapping.c b/arch/X86/mapping.c index 0f42b3199..5120e06c6 100644 --- a/arch/X86/mapping.c +++ b/arch/X86/mapping.c @@ -26,7 +26,7 @@ static enum { X86_REG_BP_DI = 503, X86_REG_sib = 504, X86_REG_sib64 = 505 -} _dummy; +} __attribute__((unused)) _dummy; static x86_reg sib_index_map[] = { X86_REG_INVALID,