summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-14 04:04:05 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-14 04:04:05 +0300
commit267711ca1ff52805a0829436de91c338814db635 (patch)
treee6965ebf0ced2403377be3cc3df60c30a05774ed /src
parent628d64d898e302213025690f19815962789f82d4 (diff)
downloadmv-267711ca1ff52805a0829436de91c338814db635.tar.gz
mv-267711ca1ff52805a0829436de91c338814db635.tar.bz2
mv-267711ca1ff52805a0829436de91c338814db635.tar.xz
mv-267711ca1ff52805a0829436de91c338814db635.zip
Fix cast issue.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/cashshophandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/cashshophandler.cpp b/src/net/eathena/cashshophandler.cpp
index e5d40dca7..7f3cf6ce8 100644
--- a/src/net/eathena/cashshophandler.cpp
+++ b/src/net/eathena/cashshophandler.cpp
@@ -91,7 +91,7 @@ void CashShopHandler::buyItems(const int points,
createOutPacket(CMSG_NPC_CASH_SHOP_BUY);
outMsg.writeInt16(CAST_S16(10 + pairSize * cnt), "len");
outMsg.writeInt32(points, "points");
- outMsg.writeInt16(cnt, "count");
+ outMsg.writeInt16(CAST_S16(cnt), "count");
FOR_EACH (std::vector<ShopItem*>::const_iterator, it, items)
{
ShopItem *const item = *it;