JitArm64_Integer: fix signedness comparison warning
Fixes warning: ``` dolphin/Source/Core/Core/PowerPC/JitArm64/JitArm64_Integer.cpp:1139:64: warning: comparison of integers of different signs: 'u32' (aka 'unsigned int') and 'int' [-Wsign-compare] else if (gpr.IsImm(b) && gpr.GetImm(b) != 0 && gpr.GetImm(b) != -1) ~~~~~~~~~~~~~ ^ ~~ ```
This commit is contained in:
parent
428bac6e32
commit
9afe3946d1
|
@ -1149,7 +1149,7 @@ void JitArm64::divwx(UGeckoInstruction inst)
|
|||
if (inst.Rc)
|
||||
ComputeRC(imm_d);
|
||||
}
|
||||
else if (gpr.IsImm(b) && gpr.GetImm(b) != 0 && gpr.GetImm(b) != -1)
|
||||
else if (gpr.IsImm(b) && gpr.GetImm(b) != 0 && gpr.GetImm(b) != -1u)
|
||||
{
|
||||
ARM64Reg WA = gpr.GetReg();
|
||||
MOVI2R(WA, gpr.GetImm(b));
|
||||
|
|
Loading…
Reference in New Issue