mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-20 20:55:32 +00:00
Fix a few warnings
This commit is contained in:
parent
ae511391e2
commit
6b56489eaf
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user