Skip to content

Commit

Permalink
R3000A: Fix Wsign-compare warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
lightningterror committed Jul 19, 2023
1 parent c574c3e commit d96dea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcsx2/R3000A.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d96dea4

Please sign in to comment.