mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 13:19:54 +00:00
Fix clang typeof() complaints
This commit is contained in:
parent
df54bf1646
commit
cc175ad43a
@ -1088,7 +1088,7 @@ INST_HANDLER (reti) { // RETI
|
||||
|
||||
INST_HANDLER (rjmp) { // RJMP k
|
||||
op->jump = (op->addr
|
||||
+ (((typeof (op->jump)) (((buf[1] & 0xf) << 9) | (buf[0] << 1)))
|
||||
+ ((((( (typeof (op->jump)) buf[1] & 0xf) << 9) | ((typeof (op->jump)) buf[0] << 1)))
|
||||
| (buf[1] & 0x8 ? ~((typeof (op->jump)) 0x1fff) : 0))
|
||||
+ 2) & CPU_PC_MASK (cpu);
|
||||
ESIL_A ("%"PFMT64d",pc,=,", op->jump);
|
||||
|
Loading…
Reference in New Issue
Block a user