summaryrefslogtreecommitdiff
path: root/src/net/messageout.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-27 19:44:13 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-27 19:44:13 +0300
commitb27338573f455ac730e6bcca9d46b50391ddf7b3 (patch)
tree3c82892185ea6d226bac8ea60f534cae02137bbe /src/net/messageout.cpp
parent03d1705dfafccdcd5ed613a2cca699e80978f747 (diff)
downloadmv-b27338573f455ac730e6bcca9d46b50391ddf7b3.tar.gz
mv-b27338573f455ac730e6bcca9d46b50391ddf7b3.tar.bz2
mv-b27338573f455ac730e6bcca9d46b50391ddf7b3.tar.xz
mv-b27338573f455ac730e6bcca9d46b50391ddf7b3.zip
Fix code style.
Diffstat (limited to 'src/net/messageout.cpp')
-rw-r--r--src/net/messageout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/messageout.cpp b/src/net/messageout.cpp
index 841e1183d..7c9ee50e5 100644
--- a/src/net/messageout.cpp
+++ b/src/net/messageout.cpp
@@ -104,7 +104,7 @@ void MessageOut::writeItemId(const int32_t value,
const char *const str)
{
if (itemIdLen == 2)
- writeInt16(CAST_S32(value), str);
+ writeInt16(CAST_S16(value), str);
else
writeInt32(value, str);
}