Fix format argument in DispatchQueuedPackets

This commit is contained in:
Joshua Ashton 2020-07-28 05:53:33 +01:00
parent ecf93ddede
commit 3a46a59a96
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}