Fix some type comparison warnings.

This commit is contained in:
Unknown W. Brackets 2014-12-14 14:04:33 -08:00
parent 0a8e6c2a06
commit 9a41dec0ff

View File

@ -352,7 +352,7 @@ void ArmRegCacheFPU::FlushR(MIPSReg r) {
break;
case ML_ARMREG:
if (mr[r].reg == (int)INVALID_REG) {
if (mr[r].reg == INVALID_REG) {
ERROR_LOG(JIT, "FlushR: MipsReg had bad ArmReg");
}
@ -502,7 +502,7 @@ void ArmRegCacheFPU::DiscardR(MIPSReg r) {
break;
case ML_ARMREG:
if (mr[r].reg == (int)INVALID_REG) {
if (mr[r].reg == INVALID_REG) {
ERROR_LOG(JIT, "DiscardR: MipsReg had bad ArmReg");
} else {
// Note that we DO NOT write it back here. That's the whole point of Discard.