From fa2610a0bef8ec27a024eea43b104dff5eee5e76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Fri, 7 Jun 2024 00:36:05 +0200 Subject: [PATCH] a warning fix --- Core/MIPS/MIPSIntVFPU.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/MIPS/MIPSIntVFPU.cpp b/Core/MIPS/MIPSIntVFPU.cpp index 6388d1652afb..d2391a2e7424 100644 --- a/Core/MIPS/MIPSIntVFPU.cpp +++ b/Core/MIPS/MIPSIntVFPU.cpp @@ -2128,7 +2128,7 @@ namespace MIPSInt ApplySwizzleT(&t[n - 1], V_Single, -INFINITY); } - for (int i = 0; i < n; i++) { + for (int i = 0; i < (int)n; i++) { switch (optype) { case 0: d.f[i] = s[i] + t[i]; break; //vadd case 1: d.f[i] = s[i] - t[i]; break; //vsub