Fix clang typeof() complaints

This commit is contained in:
Anton Kochkov 2017-01-30 00:11:09 +03:00
parent df54bf1646
commit cc175ad43a

View File

@ -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);