diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-14 04:04:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-14 04:04:05 +0300 |
commit | 267711ca1ff52805a0829436de91c338814db635 (patch) | |
tree | e6965ebf0ced2403377be3cc3df60c30a05774ed | |
parent | 628d64d898e302213025690f19815962789f82d4 (diff) | |
download | mv-267711ca1ff52805a0829436de91c338814db635.tar.gz mv-267711ca1ff52805a0829436de91c338814db635.tar.bz2 mv-267711ca1ff52805a0829436de91c338814db635.tar.xz mv-267711ca1ff52805a0829436de91c338814db635.zip |
Fix cast issue.
-rw-r--r-- | src/net/eathena/cashshophandler.cpp | 2 |
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; |