mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-26 23:10:32 +00:00
cstool: print mem.scale as int, not uint. bug reported by @hardtobelieve
This commit is contained in:
parent
dbab8d6494
commit
5cf65cf1bd
@ -49,7 +49,7 @@ void print_insn_detail_arm(csh handle, cs_insn *ins)
|
||||
printf("\t\t\toperands[%u].mem.index: REG = %s\n",
|
||||
i, cs_reg_name(handle, op->mem.index));
|
||||
if (op->mem.scale != 1)
|
||||
printf("\t\t\toperands[%u].mem.scale: %u\n", i, op->mem.scale);
|
||||
printf("\t\t\toperands[%u].mem.scale: %d\n", i, op->mem.scale);
|
||||
if (op->mem.disp != 0)
|
||||
printf("\t\t\toperands[%u].mem.disp: 0x%x\n", i, op->mem.disp);
|
||||
if (op->mem.lshift != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user