Replaced uint with unsigned int

This commit is contained in:
Marcus Minhorst 2025-07-19 10:00:49 -04:00 committed by Ricardo Luís Vaz Silva
commit 649ddd7774
31 changed files with 86 additions and 90 deletions

View file

@ -367,7 +367,7 @@ void Net_ClearBuffers()
{
CloseNetwork();
for (uint i = 0; i < MAXPLAYERS; ++i)
for (unsigned int i = 0; i < MAXPLAYERS; ++i)
{
playeringame[i] = false;
players[i].waiting = players[i].inconsistant = false;
@ -579,7 +579,7 @@ static size_t GetNetBufferSize()
}
// Header info
uint totalBytes = 10;
unsigned int totalBytes = 10;
if (NetBuffer[0] & NCMD_QUITTERS)
totalBytes += NetBuffer[totalBytes] + 1;
@ -3387,7 +3387,7 @@ CCMD(listmuted)
}
bool found = false;
for (uint i = 0; i < MAXPLAYERS; ++i)
for (unsigned int i = 0; i < MAXPLAYERS; ++i)
{
if (MutedClients & ((uint64_t)1u << i))
{