summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-04 12:08:14 +0200
committermadmaxoft <github@xoft.cz>2014-04-04 12:08:14 +0200
commitbc227299d0a1111da8bf7b61165649b2f9345e5d (patch)
treea37f7c4b4969d93d0b017e090b1a1a6bca5e7f51
parentMore Clang warning fixes in the protocols. (diff)
downloadcuberite-bc227299d0a1111da8bf7b61165649b2f9345e5d.tar
cuberite-bc227299d0a1111da8bf7b61165649b2f9345e5d.tar.gz
cuberite-bc227299d0a1111da8bf7b61165649b2f9345e5d.tar.bz2
cuberite-bc227299d0a1111da8bf7b61165649b2f9345e5d.tar.lz
cuberite-bc227299d0a1111da8bf7b61165649b2f9345e5d.tar.xz
cuberite-bc227299d0a1111da8bf7b61165649b2f9345e5d.tar.zst
cuberite-bc227299d0a1111da8bf7b61165649b2f9345e5d.zip
-rw-r--r--src/Protocol/Protocol17x.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp
index cbc138990..a4319df37 100644
--- a/src/Protocol/Protocol17x.cpp
+++ b/src/Protocol/Protocol17x.cpp
@@ -1258,7 +1258,7 @@ void cProtocol172::AddReceivedData(const char * a_Data, size_t a_Size)
AString Hex;
CreateHexDump(Hex, a_Data, a_Size, 16);
m_CommLogFile.Printf("Incoming data: %d (0x%x) bytes: \n%s\n",
- a_Size, a_Size, Hex.c_str()
+ (unsigned)a_Size, (unsigned)a_Size, Hex.c_str()
);
m_CommLogFile.Flush();
}