GS: Fix Wsign-compare warning.

This commit is contained in:
lightningterror 2024-07-08 01:47:18 +02:00
parent c127d23d75
commit 93abd2f2e5
1 changed files with 1 additions and 1 deletions

View File

@ -372,7 +372,7 @@ std::vector<GSVector2i>* GSLocalMemory::GetPage2TileMap(const GIFRegTEX0& TEX0)
int th = std::max<int>(1 << TEX0.TH, bs.y); 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. // 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; tw = 2048;
th = 2048; th = 2048;