aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-09-29 11:57:44 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2012-10-01 19:45:42 +0200
commitd210f4f5b8f904809789a543adeba520686b7573 (patch)
tree299bb3ab647c1bacdcb393f80a0e84a68f0cfd8e /src/net.cpp
parentbcc292b22d847c15776403197fcacc5ddbb6cd20 (diff)
fix -Wformat warnings all over the source
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 5b0efd32e5..7c327f5d35 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -885,7 +885,7 @@ void ThreadSocketHandler2(void* parg)
if (nPos > ReceiveBufferSize()) {
if (!pnode->fDisconnect)
- printf("socket recv flood control disconnect (%d bytes)\n", vRecv.size());
+ printf("socket recv flood control disconnect (%"PRIszu" bytes)\n", vRecv.size());
pnode->CloseSocketDisconnect();
}
else {