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

@ -68,7 +68,7 @@ void P_RunClientsideLogic()
if (gamestate == GS_LEVEL || gamestate == GS_TITLELEVEL)
{
for (int i = 0; i < MAXPLAYERS; ++i)
for (uint i = 0; i < MAXPLAYERS; ++i)
{
if (playeringame[i] && players[i].inventorytics > 0)
--players[i].inventorytics;
@ -147,7 +147,7 @@ void P_ClearLevelInterpolation()
}
}
for (int i = 0; i < MAXPLAYERS; i++)
for (uint i = 0; i < MAXPLAYERS; i++)
{
if (playeringame[i])
{
@ -171,7 +171,7 @@ void P_ClearLevelInterpolation()
//
void P_Ticker (void)
{
int i;
uint i;
for (auto Level : AllLevels())
{