Replace some instances of int with fixed width types

This commit is contained in:
James R 2020-03-21 13:12:50 -07:00
parent 29ebf7ee60
commit 8a28d3cfe5
2 changed files with 3 additions and 5 deletions

View file

@ -84,7 +84,7 @@ static boolean serverrunning = false;
INT32 serverplayer = 0;
char motd[254], server_context[8]; // Message of the Day, Unique Context (even without Mumble support)
int playerconsole[MAXPLAYERS];
UINT8 playerconsole[MAXPLAYERS];
// Server specific vars
UINT8 playernode[MAXPLAYERS];
@ -3491,7 +3491,7 @@ static inline void SV_AddNode(INT32 node)
static void Got_AddPlayer(UINT8 **p, INT32 playernum)
{
INT16 node, newplayernum;
int console;
UINT8 console;
UINT8 splitscreenplayer = 0;
UINT8 i;

View file

@ -2006,12 +2006,10 @@ static void Got_PowerLevel(UINT8 **cp,INT32 playernum)
static void Got_PartyInvite(UINT8 **cp,INT32 playernum)
{
int invitee;
UINT8 invitee;
boolean kick = false;
invitee = READUINT8 (*cp);
if (
invitee >= 0 &&
invitee < MAXPLAYERS &&