From de7d095b98846529e2394e9868a6dd2e4344acc8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 27 Feb 2015 20:53:45 +0300 Subject: fix code style. --- src/net/eathena/buyingstorehandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/eathena/buyingstorehandler.cpp') 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 &items) const { createOutPacket(CMSG_BUYINGSTORE_CREATE); - outMsg.writeInt16(89 + items.size() * 8, "len"); + outMsg.writeInt16(static_cast(89 + items.size() * 8), "len"); outMsg.writeInt32(maxMoney, "limit money"); outMsg.writeInt8(flag, "flag"); outMsg.writeString(name, 80, "store name"); -- cgit v1.2.3-60-g2f50