summaryrefslogtreecommitdiff
path: root/src/net/messagein.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/messagein.cpp')
-rw-r--r--src/net/messagein.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/messagein.cpp b/src/net/messagein.cpp
index 212ce9d55..2f064a8a0 100644
--- a/src/net/messagein.cpp
+++ b/src/net/messagein.cpp
@@ -54,9 +54,9 @@ MessageIn::~MessageIn()
if (mPos != mLength && mPos != 2)
{
logger->log("Wrong actual or planned inbound packet size!");
- logger->log(" packet id: %d 0x%x",
- static_cast<int>(mId),
- static_cast<int>(mId));
+ logger->log(" packet id: %u 0x%x",
+ static_cast<unsigned int>(mId),
+ static_cast<unsigned int>(mId));
logger->log(" planned size: %u", mLength);
logger->log(" read size: %u", mPos);
}