R3000A: Fix Wsign-compare warning.

This commit is contained in:
lightningterror 2023-07-16 13:06:05 +02:00
parent c574c3e08c
commit d96dea49bf
1 changed files with 1 additions and 1 deletions

View File

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