Fix "suggest parentheses around comparison in operand of ‘&’"

warnings.
This commit is contained in:
riccardom 2010-04-24 14:28:16 +00:00
parent ed419e6a3a
commit 7c420765a9
1 changed files with 1 additions and 1 deletions

View File

@ -1022,7 +1022,7 @@ TEMPLATE static u32 FASTCALL OP_ADD_S_IMM_VAL(const u32 i)
} \
cpu->CPSR.bits.N = BIT31(cpu->R[REG_POS(i,12)]); \
cpu->CPSR.bits.Z = (cpu->R[REG_POS(i,12)]==0); \
cpu->CPSR.bits.V = (v ^ shift_op ^ -1) & (v ^ cpu->R[REG_POS(i, 12)]) != 0;\
cpu->CPSR.bits.V = ((v ^ shift_op ^ -1) & (v ^ cpu->R[REG_POS(i, 12)])) != 0;\
return a; \
}