From 93abd2f2e507dec0d713abd2fdafe49ccf1bc9b1 Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Mon, 8 Jul 2024 01:47:18 +0200 Subject: [PATCH] GS: Fix Wsign-compare warning. --- pcsx2/GS/GSLocalMemory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/GS/GSLocalMemory.cpp b/pcsx2/GS/GSLocalMemory.cpp index 7191a46727..6be115c5f1 100644 --- a/pcsx2/GS/GSLocalMemory.cpp +++ b/pcsx2/GS/GSLocalMemory.cpp @@ -372,7 +372,7 @@ std::vector* GSLocalMemory::GetPage2TileMap(const GIFRegTEX0& TEX0) int th = std::max(1 << TEX0.TH, bs.y); // Limit the size to the maximum size of the GS memory, there's no point in mapping more than this. - if ((tw * th) > VM_SIZE) + if ((tw * th) > static_cast(VM_SIZE)) { tw = 2048; th = 2048;