diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-19 17:00:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-19 17:00:48 +0300 |
commit | 2e7f792b0f5ef9fc68b90f80f4dcaad5a4cffc07 (patch) | |
tree | 09a83d1a3df14b750e17d5d71f6f53f2abe4aaf6 /src/net/messageout.cpp | |
parent | 5a189e3fbf4e49d352ff68113211d6b59d9217c8 (diff) | |
download | manaplus-2e7f792b0f5ef9fc68b90f80f4dcaad5a4cffc07.tar.gz manaplus-2e7f792b0f5ef9fc68b90f80f4dcaad5a4cffc07.tar.bz2 manaplus-2e7f792b0f5ef9fc68b90f80f4dcaad5a4cffc07.tar.xz manaplus-2e7f792b0f5ef9fc68b90f80f4dcaad5a4cffc07.zip |
add a bit formatting in logging network packets.
Diffstat (limited to 'src/net/messageout.cpp')
-rw-r--r-- | src/net/messageout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/messageout.cpp b/src/net/messageout.cpp index 3241ffbfd..807cff66a 100644 --- a/src/net/messageout.cpp +++ b/src/net/messageout.cpp @@ -53,7 +53,7 @@ void MessageOut::writeInt8(const int8_t value, const char *const str) { expand(1); mData[mPos] = value; - DEBUGLOG2("writeInt8: " + toStringPrint(static_cast<unsigned int>( + DEBUGLOG2("writeInt8: " + toStringPrint(static_cast<unsigned int>( static_cast<uint8_t>(value))), mPos, str); mPos += 1; |