From d96dea49bfd1a84eb323fe00d75afe75fc655c13 Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Sun, 16 Jul 2023 13:06:05 +0200 Subject: [PATCH] R3000A: Fix Wsign-compare warning. --- pcsx2/R3000A.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/R3000A.cpp b/pcsx2/R3000A.cpp index 65678c7d06..b0ceed78a0 100644 --- a/pcsx2/R3000A.cpp +++ b/pcsx2/R3000A.cpp @@ -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(psxRegs.iopNextEventCycle - psxNextsCounter)) psxRegs.iopNextEventCycle = psxNextsCounter + psxNextCounter; }