mirror of https://github.com/PCSX2/pcsx2.git
R3000A: Fix Wsign-compare warning.
This commit is contained in:
parent
c574c3e08c
commit
d96dea49bf
|
@ -222,7 +222,7 @@ __ri void iopEventTest()
|
|||
{
|
||||
// start the next branch at the next counter event by default
|
||||
// the interrupt code below will assign nearer branches if needed.
|
||||
if (psxNextCounter < (psxRegs.iopNextEventCycle - psxNextsCounter))
|
||||
if (psxNextCounter < static_cast<s32>(psxRegs.iopNextEventCycle - psxNextsCounter))
|
||||
psxRegs.iopNextEventCycle = psxNextsCounter + psxNextCounter;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue