From 7c78778cfced695822c550e3915b5b6059363d9a Mon Sep 17 00:00:00 2001 From: Giovanni Condello Date: Fri, 2 May 2014 20:15:53 +0200 Subject: [PATCH] Make capstone library compile with arm-none-eabi-gcc 4.8 --- arch/AArch64/AArch64Disassembler.c | 2 +- arch/ARM/ARMDisassembler.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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,