From 3a46a59a96234eb127f10c6a4e159027e03fb112 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Tue, 28 Jul 2020 05:53:33 +0100 Subject: [PATCH] Fix format argument in DispatchQueuedPackets --- src/network/TCPListener.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/TCPListener.cpp b/src/network/TCPListener.cpp index 5388bc5..3bf9940 100644 --- a/src/network/TCPListener.cpp +++ b/src/network/TCPListener.cpp @@ -260,7 +260,7 @@ R"({ while (!client->m_queue.empty()) { NetworkMessage *msg = client->m_queue.front(); - printf("Writing packet of size %u\n", msg->GetDataSize()); + printf("Writing packet of size %u\n", uint32_t(msg->GetDataSize())); bufferevent_write(client->m_bufferEvent, msg->GetData(), msg->GetDataSize()); client->m_queue.pop(); }