diff --git a/arch/AArch64/AArch64Disassembler.c b/arch/AArch64/AArch64Disassembler.c index 2bf51363..a513ae40 100644 --- a/arch/AArch64/AArch64Disassembler.c +++ b/arch/AArch64/AArch64Disassembler.c @@ -165,7 +165,7 @@ static DecodeStatus DecodeLDSTPairInstruction(MCInst *Inst, void *Decoder); static DecodeStatus DecodeLoadPairExclusiveInstruction(MCInst *Inst, - unsigned Val, + uint32_t Val, uint64_t Address, void *Decoder); diff --git a/arch/ARM/ARMDisassembler.c b/arch/ARM/ARMDisassembler.c index cc44c09d..74b5b5e1 100644 --- a/arch/ARM/ARMDisassembler.c +++ b/arch/ARM/ARMDisassembler.c @@ -349,11 +349,11 @@ static DecodeStatus DecodeT2LDRDPreInstruction(MCInst *Inst,unsigned Insn, uint64_t Address, const void *Decoder); static DecodeStatus DecodeT2STRDPreInstruction(MCInst *Inst,unsigned Insn, uint64_t Address, const void *Decoder); -static DecodeStatus DecodeT2Adr(MCInst *Inst, unsigned Val, +static DecodeStatus DecodeT2Adr(MCInst *Inst, uint32_t Val, uint64_t Address, const void *Decoder); static DecodeStatus DecodeT2LdStPre(MCInst *Inst, unsigned Val, uint64_t Address, const void *Decoder); -static DecodeStatus DecodeT2ShifterImmOperand(MCInst *Inst, unsigned Val, +static DecodeStatus DecodeT2ShifterImmOperand(MCInst *Inst, uint32_t Val, uint64_t Address, const void *Decoder); static DecodeStatus DecodeLDR(MCInst *Inst, unsigned Val,