GS: Fix Wsign-compare warning.

This commit is contained in:
lightningterror committed 2024-07-08 11:52:24 +02:00
1 parent c127d23d75
commit 93abd2f2e5
1 file changed
+1 -1
+1 -1
View File
@@ -372,7 +372,7 @@ std::vector<GSVector2i>* GSLocalMemory::GetPage2TileMap(const GIFRegTEX0& TEX0)
int th = std::max<int>(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<int>(VM_SIZE))
{
tw = 2048;
th = 2048;