From b27338573f455ac730e6bcca9d46b50391ddf7b3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 27 Jul 2018 19:44:13 +0300 Subject: Fix code style. --- src/net/eathena/cashshophandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/eathena/cashshophandler.cpp') diff --git a/src/net/eathena/cashshophandler.cpp b/src/net/eathena/cashshophandler.cpp index 1953fafb6..bbb979b32 100644 --- a/src/net/eathena/cashshophandler.cpp +++ b/src/net/eathena/cashshophandler.cpp @@ -56,7 +56,7 @@ void CashShopHandler::buyItem(const int points, if (packetVersion < 20101124) return; createOutPacket(CMSG_NPC_CASH_SHOP_BUY); - outMsg.writeInt16(10 + (2 + itemIdLen), "len"); + outMsg.writeInt16(CAST_S16(10 + (2 + itemIdLen)), "len"); outMsg.writeInt32(points, "points"); outMsg.writeInt16(1, "count"); outMsg.writeInt16(CAST_S16(amount), "amount"); -- cgit v1.2.3-70-g09d2