summaryrefslogtreecommitdiff
path: root/src/net/eathena/buyingstorehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-27 20:53:45 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-27 20:53:45 +0300
commitde7d095b98846529e2394e9868a6dd2e4344acc8 (patch)
tree922f05aaa5746fa90e4c43c0a9160b5f6b51fe81 /src/net/eathena/buyingstorehandler.cpp
parent32947c0634ec582f6d641402433d2037f5087a36 (diff)
downloadmv-de7d095b98846529e2394e9868a6dd2e4344acc8.tar.gz
mv-de7d095b98846529e2394e9868a6dd2e4344acc8.tar.bz2
mv-de7d095b98846529e2394e9868a6dd2e4344acc8.tar.xz
mv-de7d095b98846529e2394e9868a6dd2e4344acc8.zip
fix code style.
Diffstat (limited to 'src/net/eathena/buyingstorehandler.cpp')
-rw-r--r--src/net/eathena/buyingstorehandler.cpp2
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");