From 8d7227b1f9a189f39f7be4aa047bff0b28c8a8c5 Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Tue, 7 Nov 2023 14:14:51 +0100 Subject: [PATCH] Interpreter: Fix Wsign-compare warning. --- pcsx2/Interpreter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/Interpreter.cpp b/pcsx2/Interpreter.cpp index 9ed9ee45ad..f4c30e808d 100644 --- a/pcsx2/Interpreter.cpp +++ b/pcsx2/Interpreter.cpp @@ -239,7 +239,7 @@ static __fi void _doBranch_shared(u32 tar) { if ((cpuRegs.pc - tar) < (4 * 10)) { - for (int i = tar; i < cpuRegs.pc; i += 4) + for (u32 i = tar; i < cpuRegs.pc; i += 4) { if (PSM(i) != 0) {