1
0
forked from mirrors/0ad

Detect and fix printf signedness errors. Fixes #1086, #1087.

This was SVN commit r10846.
This commit is contained in:
Ykkrosh
2012-01-01 16:43:10 +00:00
parent cc405939c2
commit 0ec4242962
21 changed files with 51 additions and 41 deletions
+1 -1
View File
@@ -317,7 +317,7 @@ bool CNetServerWorker::RunStep()
// Report the client address
char hostname[256] = "(error)";
enet_address_get_host_ip(&event.peer->address, hostname, ARRAY_SIZE(hostname));
LOGMESSAGE(L"Net server: Received connection from %hs:%u", hostname, event.peer->address.port);
LOGMESSAGE(L"Net server: Received connection from %hs:%u", hostname, (unsigned int)event.peer->address.port);
// Set up a session object for this peer