summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-18 18:40:59 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-18 18:40:59 +0300
commit31cce4c22b369148f77d7092903af9462d8151c8 (patch)
treebd11e598db5ff6e17d3f0b283c44e333ac37d696 /src/net/ea/inventoryhandler.cpp
parente6afa441a57718205c1f62bcbc0a5443fd513aa3 (diff)
downloadplus-31cce4c22b369148f77d7092903af9462d8151c8.tar.gz
plus-31cce4c22b369148f77d7092903af9462d8151c8.tar.bz2
plus-31cce4c22b369148f77d7092903af9462d8151c8.tar.xz
plus-31cce4c22b369148f77d7092903af9462d8151c8.zip
Fix code style.
Diffstat (limited to 'src/net/ea/inventoryhandler.cpp')
-rw-r--r--src/net/ea/inventoryhandler.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index 2b2d1cc9e..b7c827a4d 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -266,11 +266,12 @@ void InventoryHandler::processPlayerStorageEquip(Net::MessageIn &msg)
if (mDebugInventory)
{
- logger->log("Index: %d, ID: %d, Type: %d, Identified: %d, "
+ logger->log("Index: %d, ID: %d, Type: %d, Identified: %u, "
"Qty: %d, Cards: %d, %d, %d, %d, Refine: %u",
index, itemId, itemType,
static_cast<unsigned int>(identified), amount,
- cards[0], cards[1], cards[2], cards[3], refine);
+ cards[0], cards[1], cards[2], cards[3],
+ static_cast<unsigned int>(refine));
}
if (serverVersion < 1 && identified > 1U)