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
@@ -112,7 +112,7 @@ void CNetClientSession::Poll()
// Report the server address
char hostname[256] = "(error)";
enet_address_get_host_ip(&event.peer->address, hostname, ARRAY_SIZE(hostname));
LOGMESSAGE(L"Net client: Connected to %hs:%u", hostname, event.peer->address.port);
LOGMESSAGE(L"Net client: Connected to %hs:%u", hostname, (unsigned int)event.peer->address.port);
m_Client.HandleConnect();