mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-02-10 16:42:54 +00:00
arm: fix an warning on conversion from uint64_t to bool. issue reported by @yegord
This commit is contained in:
parent
b6f0d440b2
commit
106e0f1567
@ -1414,7 +1414,7 @@ static void printMemBOption(MCInst *MI, unsigned OpNum, SStream *O)
|
||||
{
|
||||
unsigned val = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum));
|
||||
SStream_concat0(O, ARM_MB_MemBOptToString(val + 1,
|
||||
(ARM_getFeatureBits(MI->csh->mode) & ARM_HasV8Ops)));
|
||||
(ARM_getFeatureBits(MI->csh->mode) & ARM_HasV8Ops) != 0));
|
||||
|
||||
if (MI->csh->detail) {
|
||||
MI->flat_insn->detail->arm.mem_barrier = (arm_mem_barrier)(val + 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user