diff --git a/libr/asm/p/asm_dalvik.c b/libr/asm/p/asm_dalvik.c index 128441971286d..67399573f010e 100644 --- a/libr/asm/p/asm_dalvik.c +++ b/libr/asm/p/asm_dalvik.c @@ -166,7 +166,7 @@ static int dalvik_disassemble (RAsm *a, RAsmOp *op, const ut8 *buf, int len) { strasm = r_str_append (strasm, str); break; case fmtoppAA: - vA = (char) buf[1]; + vA = (signed char) buf[1]; //snprintf (str, sizeof (str), " %i", vA*2); // vA : word -> byte snprintf (str, sizeof (str), " 0x%08"PFMT64x, a->pc + (vA * 2)); // vA : word -> byte strasm = r_str_append (strasm, str);