mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 03:00:38 +00:00
Fix some *printf format-char/vararg mismatches on x86_64 in net.c.
git-svn-id: https://svn.eduke32.com/eduke32@2691 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a72a2dbf20
commit
f69d9f241d
1 changed files with 2 additions and 2 deletions
|
@ -733,7 +733,7 @@ void Net_SyncPlayer(ENetEvent *event)
|
||||||
enet_packet_create(buf+csize-j, j, ENET_PACKET_FLAG_RELIABLE));
|
enet_packet_create(buf+csize-j, j, ENET_PACKET_FLAG_RELIABLE));
|
||||||
enet_host_service(g_netServer, NULL, 0);
|
enet_host_service(g_netServer, NULL, 0);
|
||||||
|
|
||||||
initprintf("Compressed %u bytes to %u\n", sizeof(netmapstate_t), qlz_size_compressed(buf));
|
initprintf("Compressed %u bytes to %u\n", (uint32_t)sizeof(netmapstate_t), (uint32_t)qlz_size_compressed(buf));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
initprintf("Error compressing map state for transfer!\n");
|
initprintf("Error compressing map state for transfer!\n");
|
||||||
|
@ -1583,7 +1583,7 @@ void Net_GetPackets(void)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
initprintf("Invalid map state from server! Decompressed to %u bytes, expected %u.\n",
|
initprintf("Invalid map state from server! Decompressed to %u bytes, expected %u.\n",
|
||||||
qlz_size_decompressed((char *)buf), sizeof(netmapstate_t));
|
(uint32_t)qlz_size_decompressed((char *)buf), (uint32_t)sizeof(netmapstate_t));
|
||||||
|
|
||||||
g_netDisconnect = 1;
|
g_netDisconnect = 1;
|
||||||
g_netSync = 0;
|
g_netSync = 0;
|
||||||
|
|
Loading…
Reference in a new issue