GS: Fix Wsign-compare warning.

This commit is contained in:
lightningterror 2022-08-17 19:47:48 +02:00
parent fb18143791
commit dc8021e952
1 changed files with 1 additions and 1 deletions

View File

@ -1884,7 +1884,7 @@ void GSState::FlushPrim()
// Jak 3 shadows get spikey (with autoflush) if you don't.
if (PRIM->PRIM == GS_TRIANGLEFAN)
{
for (int i = 0; i < unused; i++)
for (size_t i = 0; i < unused; i++)
{
GSVector4i* RESTRICT vert_ptr = (GSVector4i*)&m_vertex.buff[i];
GSVector4i v = vert_ptr[1];