diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-27 20:53:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-27 20:53:45 +0300 |
commit | de7d095b98846529e2394e9868a6dd2e4344acc8 (patch) | |
tree | 922f05aaa5746fa90e4c43c0a9160b5f6b51fe81 /src/net/eathena/chathandler.cpp | |
parent | 32947c0634ec582f6d641402433d2037f5087a36 (diff) | |
download | plus-de7d095b98846529e2394e9868a6dd2e4344acc8.tar.gz plus-de7d095b98846529e2394e9868a6dd2e4344acc8.tar.bz2 plus-de7d095b98846529e2394e9868a6dd2e4344acc8.tar.xz plus-de7d095b98846529e2394e9868a6dd2e4344acc8.zip |
fix code style.
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index 0d401f0e3..aaad26fda 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -757,7 +757,7 @@ void ChatHandler::talkPet(const std::string &restrict text, createOutPacket(CMSG_PET_TALK); outMsg.writeInt16(static_cast<int16_t>(sz + 4 + 1), "len"); - outMsg.writeString(msg, sz, "message"); + outMsg.writeString(msg, static_cast<int>(sz), "message"); outMsg.writeInt8(0, "zero byte"); } |