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;