diff --git a/src/d_clisrv.c b/src/d_clisrv.c index 5840f3005..56f7df18a 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -5387,7 +5387,7 @@ static void SV_SendTics(void) // Send the tics netbuffer->packettype = PT_SERVERTICS; - netbuffer->u.serverpak.starttic = realfirsttic; + netbuffer->u.serverpak.starttic = (UINT8)realfirsttic; netbuffer->u.serverpak.numtics = (UINT8)(lasttictosend - realfirsttic); netbuffer->u.serverpak.numslots = (UINT8)SHORT(doomcom->numslots); bufpos = (UINT8 *)&netbuffer->u.serverpak.cmds; diff --git a/src/d_clisrv.h b/src/d_clisrv.h index 390e23245..bca6a0721 100644 --- a/src/d_clisrv.h +++ b/src/d_clisrv.h @@ -167,7 +167,7 @@ typedef struct // this packet is too large typedef struct { - tic_t starttic; + UINT8 starttic; UINT8 numtics; UINT8 numslots; // "Slots filled": Highest player number in use plus one. ticcmd_t cmds[45]; // Normally [BACKUPTIC][MAXPLAYERS] but too large