Fixes sign-compare warnings

This commit is contained in:
Marcus Minhorst 2025-07-18 18:47:44 -04:00 committed by Ricardo Luís Vaz Silva
commit 9b0f5d9b0d
41 changed files with 109 additions and 108 deletions

View file

@ -500,7 +500,7 @@ void MapLoader::LoadGLZSegs (FileReader &data, int type)
if (partner != 0xffffffffu && partner >= Level->segs.Size())
{
I_Error("partner seg index out of range for subsector %d, seg %d", i, j);
I_Error("partner seg index out of range for subsector %d, seg %lu", i, j);
}
if (type >= 2)
@ -3209,7 +3209,7 @@ void MapLoader::LoadLevel(MapData *map, const char *lumpname, int position)
LoadLightmap(map);
}
for (int i = 0; i < MAXPLAYERS; ++i)
for (uint i = 0; i < MAXPLAYERS; ++i)
{
if (Level->PlayerInGame(i) && Level->Players[i]->mo != nullptr)
Level->Players[i]->health = Level->Players[i]->mo->health;