From 45a17142524b79254b0b87a8385ee36cbfac79ce Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 23 Apr 2016 04:04:00 +0300 Subject: Fix code style. --- src/net/eathena/inventoryhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/eathena/inventoryhandler.cpp') diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp index 201cf038f..7d3b36f72 100644 --- a/src/net/eathena/inventoryhandler.cpp +++ b/src/net/eathena/inventoryhandler.cpp @@ -221,7 +221,7 @@ void InventoryHandler::selectCart(const BeingId accountId, { createOutPacket(CMSG_SELECT_CART); outMsg.writeBeingId(accountId, "account id"); - outMsg.writeInt8(type, "type"); + outMsg.writeInt8(CAST_S8(type), "type"); } void InventoryHandler::identifyItem(const Item *const item) const @@ -239,7 +239,7 @@ void InventoryHandler::mergeItemsAck(const std::vector &items) const "len"); FOR_EACH (std::vector::const_iterator, it, items) { - outMsg.writeInt16((*it)->getInvIndex() + 2, + outMsg.writeInt16(CAST_S16((*it)->getInvIndex() + 2), "item index"); } } -- cgit v1.2.3-60-g2f50