summaryrefslogtreecommitdiff
path: root/src/net/eathena/messageout.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-30 19:53:09 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-30 19:53:09 +0300
commit237449794444d60ecc4a669d78becac5372da723 (patch)
tree694f439d43e303065220df02ec5a1df9ea5b57fe /src/net/eathena/messageout.cpp
parent2c13c60e916768fe09bcfff1d0b568a4c5397a99 (diff)
downloadmv-237449794444d60ecc4a669d78becac5372da723.tar.gz
mv-237449794444d60ecc4a669d78becac5372da723.tar.bz2
mv-237449794444d60ecc4a669d78becac5372da723.tar.xz
mv-237449794444d60ecc4a669d78becac5372da723.zip
Fix code style in net.
Diffstat (limited to 'src/net/eathena/messageout.cpp')
-rw-r--r--src/net/eathena/messageout.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/eathena/messageout.cpp b/src/net/eathena/messageout.cpp
index ff16f5dd0..07fd8093b 100644
--- a/src/net/eathena/messageout.cpp
+++ b/src/net/eathena/messageout.cpp
@@ -91,7 +91,10 @@ void MessageOut::writeCoordinates(const uint16_t x,
const uint16_t y,
unsigned char direction)
{
- DEBUGLOG(strprintf("writeCoordinates: %u,%u %u", x, y, direction));
+ DEBUGLOG(strprintf("writeCoordinates: %u,%u %u",
+ static_cast<unsigned>(x),
+ static_cast<unsigned>(y),
+ static_cast<unsigned>(direction)));
char *const data = mData + mPos;
mNetwork->mOutSize += 3;
mPos += 3;