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/buyingstorehandler.cpp | |
parent | 32947c0634ec582f6d641402433d2037f5087a36 (diff) | |
download | ManaVerse-de7d095b98846529e2394e9868a6dd2e4344acc8.tar.gz ManaVerse-de7d095b98846529e2394e9868a6dd2e4344acc8.tar.bz2 ManaVerse-de7d095b98846529e2394e9868a6dd2e4344acc8.tar.xz ManaVerse-de7d095b98846529e2394e9868a6dd2e4344acc8.zip |
fix code style.
Diffstat (limited to 'src/net/eathena/buyingstorehandler.cpp')
-rw-r--r-- | src/net/eathena/buyingstorehandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/buyingstorehandler.cpp b/src/net/eathena/buyingstorehandler.cpp index a3da66527..921c2f300 100644 --- a/src/net/eathena/buyingstorehandler.cpp +++ b/src/net/eathena/buyingstorehandler.cpp @@ -296,7 +296,7 @@ void BuyingStoreHandler::create(const std::string &name, std::vector<ShopItem*> &items) const { createOutPacket(CMSG_BUYINGSTORE_CREATE); - outMsg.writeInt16(89 + items.size() * 8, "len"); + outMsg.writeInt16(static_cast<int16_t>(89 + items.size() * 8), "len"); outMsg.writeInt32(maxMoney, "limit money"); outMsg.writeInt8(flag, "flag"); outMsg.writeString(name, 80, "store name"); |