summaryrefslogtreecommitdiff
path: root/src/net/messageout.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-25 20:17:57 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-25 20:17:57 +0300
commit30f64ba7f1f7a1d76f2dbddc05fe1d123de9c86d (patch)
treeaa1b867bf12df5e61e780d83d5c5ab8a56956edc /src/net/messageout.h
parentd43d59612ae6cc56a7ec59f83d344a369ff924ee (diff)
downloadplus-30f64ba7f1f7a1d76f2dbddc05fe1d123de9c86d.tar.gz
plus-30f64ba7f1f7a1d76f2dbddc05fe1d123de9c86d.tar.bz2
plus-30f64ba7f1f7a1d76f2dbddc05fe1d123de9c86d.tar.xz
plus-30f64ba7f1f7a1d76f2dbddc05fe1d123de9c86d.zip
Fix code style.
Diffstat (limited to 'src/net/messageout.h')
-rw-r--r--src/net/messageout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/messageout.h b/src/net/messageout.h
index fb48ddd6e..39b826dfe 100644
--- a/src/net/messageout.h
+++ b/src/net/messageout.h
@@ -30,7 +30,7 @@
#include "localconsts.h"
#define createOutPacket(name) MessageOut outMsg(name); \
- outMsg.writeInt16(name, #name)
+ outMsg.writeInt16(static_cast<int16_t>(name), #name)
namespace Net
{