Silencing Clang warning about losing precision

test2
Félix Cloutier 10 years ago committed by Nguyen Anh Quynh
parent f6a065c9ba
commit 6d2c6a7a97
  1. 2
      arch/X86/X86DisassemblerDecoder.c

@ -312,7 +312,7 @@ static void unconsumeByte(struct InternalInstruction *insn)
insn->readerCursor + offset); \
if (ret) \
return ret; \
combined = combined | ((uint64_t)byte << (offset * 8)); \
combined = combined | (type)((uint64_t)byte << (offset * 8)); \
} \
*ptr = combined; \
insn->readerCursor += sizeof(type); \

Loading…
Cancel
Save