summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-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;