now fix building with non-MinGW GCC

This commit is contained in:
Fabian Greffrath 2021-12-03 12:10:57 +01:00
parent 9ec3ee6f2d
commit e21655fe9d
2 changed files with 3 additions and 3 deletions

View File

@ -770,7 +770,7 @@ static void NET_CL_ParseGameData(net_packet_t *packet)
if (!NET_ReadFullTiccmd(packet, &cmd, settings.lowres_turn))
{
NET_Log("client: error: failed to read ticcmd %u", (unsigned int)i);
NET_Log("client: error: failed to read ticcmd %lu", (unsigned long)i);
return;
}
@ -787,7 +787,7 @@ static void NET_CL_ParseGameData(net_packet_t *packet)
recvobj->active = true;
recvobj->cmd = cmd;
NET_Log("client: stored tic %u in receive window", (unsigned int)seq + i);
NET_Log("client: stored tic %lu in receive window", (unsigned long)seq + i);
// If a packet is lost or arrives out of order, we might get
// the tic in the next packet instead (because of extratic).

View File

@ -1193,7 +1193,7 @@ static void NET_SV_ParseGameData(net_packet_t *packet, net_client_t *client)
recvobj->latency = latency;
client->last_gamedata_time = nowtime;
NET_Log("server: stored tic %u for player %d", (unsigned int)seq + i, player);
NET_Log("server: stored tic %lu for player %d", (unsigned long)seq + i, player);
}
// Higher acknowledgement point?