diff --git a/libr/anal/p/anal_arm_cs.c b/libr/anal/p/anal_arm_cs.c index 687d3bc35c..57baf0ceb8 100644 --- a/libr/anal/p/anal_arm_cs.c +++ b/libr/anal/p/anal_arm_cs.c @@ -14,7 +14,6 @@ #define REGID64(x) insn->detail->arm64.operands[x].reg #define REGID(x) insn->detail->arm.operands[x].reg #define IMM(x) (ut32)(insn->detail->arm.operands[x].imm) -#define IMM64(x) insn->detail->arm64.operands[x].imm #define MEMBASE(x) r_str_get (cs_reg_name(*handle, insn->detail->arm.operands[x].mem.base)) #define MEMBASE64(x) r_str_get (cs_reg_name(*handle, insn->detail->arm64.operands[x].mem.base)) #define REGBASE(x) insn->detail->arm.operands[x].mem.base diff --git a/libr/anal/p/anal_x86_cs.c b/libr/anal/p/anal_x86_cs.c index 87876a0ad7..91223a4705 100644 --- a/libr/anal/p/anal_x86_cs.c +++ b/libr/anal/p/anal_x86_cs.c @@ -22,7 +22,7 @@ #define esilprintf(op, fmt, arg...) r_strbuf_setf (&op->esil, fmt, ##arg) #define INSOP(n) insn->detail->x86.operands[n] #define INSOPS insn->detail->x86.op_count -#define ISIMM(x) insn->detail->x86.operands[x].type == ARM_OP_IMM +#define ISIMM(x) insn->detail->x86.operands[x].type == X86_OP_IMM struct Getarg { csh handle; diff --git a/libr/util/utf8.c b/libr/util/utf8.c index d9f69dd0a1..7f2501e0de 100644 --- a/libr/util/utf8.c +++ b/libr/util/utf8.c @@ -278,7 +278,7 @@ R_API int r_utf8_strlen (const ut8 *str) { } R_API int r_isprint (const RRune c) { - const last = nonprintable_ranges_count; + const int last = nonprintable_ranges_count; int low, hi, mid; low = 0;