From 15c06938cf1e656cb12cc8e1fda2365ce072c8ff Mon Sep 17 00:00:00 2001 From: Pau Oliva Date: Sun, 6 Apr 2014 16:46:40 +0200 Subject: [PATCH] fix branch addr when bigger than a word on m68k --- libr/asm/p/asm_m68k.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libr/asm/p/asm_m68k.c b/libr/asm/p/asm_m68k.c index a6ce94458a..b3dc9fd7cf 100644 --- a/libr/asm/p/asm_m68k.c +++ b/libr/asm/p/asm_m68k.c @@ -12,7 +12,7 @@ static int disassemble(RAsm *a, RAsmOp *aop, const ut8 *buf, int len) { m68k_word bof[8] = {0}; - m68k_word iaddr = (m68k_word)a->pc; + int iaddr = (int)a->pc; char opcode[256], operands[256]; const unsigned char *buf2; int ilen ;