summaryrefslogtreecommitdiff
path: root/src/net/tmwa/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/tmwa/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/tmwa/messageout.cpp')
-rw-r--r--src/net/tmwa/messageout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/messageout.cpp b/src/net/tmwa/messageout.cpp
index 8c3ecb5ec..9962e7975 100644
--- a/src/net/tmwa/messageout.cpp
+++ b/src/net/tmwa/messageout.cpp
@@ -85,7 +85,7 @@ void MessageOut::writeInt32(const int32_t value)
#define LOBYTE(w) (static_cast<unsigned char>(w))
#define HIBYTE(w) (static_cast<unsigned char>(( \
-static_cast<uint16_t>(w)) >> 8))
+static_cast<uint16_t>(w)) >> 8U))
void MessageOut::writeCoordinates(const uint16_t x,
const uint16_t y,