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/mercenaryhandler.cpp | |
parent | 32947c0634ec582f6d641402433d2037f5087a36 (diff) | |
download | manaplus-de7d095b98846529e2394e9868a6dd2e4344acc8.tar.gz manaplus-de7d095b98846529e2394e9868a6dd2e4344acc8.tar.bz2 manaplus-de7d095b98846529e2394e9868a6dd2e4344acc8.tar.xz manaplus-de7d095b98846529e2394e9868a6dd2e4344acc8.zip |
fix code style.
Diffstat (limited to 'src/net/eathena/mercenaryhandler.cpp')
-rw-r--r-- | src/net/eathena/mercenaryhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/mercenaryhandler.cpp b/src/net/eathena/mercenaryhandler.cpp index 0c3985f07..e611ae259 100644 --- a/src/net/eathena/mercenaryhandler.cpp +++ b/src/net/eathena/mercenaryhandler.cpp @@ -230,7 +230,7 @@ void MercenaryHandler::talk(const std::string &restrict text) const createOutPacket(CMSG_HOMMERC_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"); } |