From 0b645a825d73f4e38d5c131c8ff8ee52aa796d2b Mon Sep 17 00:00:00 2001 From: Nay Date: Sat, 31 Mar 2012 17:47:18 +0100 Subject: Core/DBLayer: More type fixes --- src/server/game/Chat/Commands/Level3.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/server/game/Chat/Commands') diff --git a/src/server/game/Chat/Commands/Level3.cpp b/src/server/game/Chat/Commands/Level3.cpp index 062f04bf4dd..d3417705867 100755 --- a/src/server/game/Chat/Commands/Level3.cpp +++ b/src/server/game/Chat/Commands/Level3.cpp @@ -427,7 +427,7 @@ bool ChatHandler::HandleListItemCommand(const char *args) result = CharacterDatabase.Query(stmt); if (result) - inv_count = (*result)[0].GetUInt32(); + inv_count = (*result)[0].GetUInt64(); stmt = CharacterDatabase.GetPreparedStatement(CHAR_SEL_CHAR_INVENTORY_ITEM_BY_ENTRY); stmt->setUInt32(0, item_id); @@ -476,7 +476,7 @@ bool ChatHandler::HandleListItemCommand(const char *args) result = CharacterDatabase.Query(stmt); if (result) - mail_count = (*result)[0].GetUInt32(); + mail_count = (*result)[0].GetUInt64(); if (count > 0) { @@ -523,7 +523,7 @@ bool ChatHandler::HandleListItemCommand(const char *args) result = CharacterDatabase.Query(stmt); if (result) - auc_count = (*result)[0].GetUInt32(); + auc_count = (*result)[0].GetUInt64(); if (count > 0) { @@ -560,7 +560,7 @@ bool ChatHandler::HandleListItemCommand(const char *args) result = CharacterDatabase.Query(stmt); if (result) - guild_count = (*result)[0].GetUInt32(); + guild_count = (*result)[0].GetUInt64(); stmt = CharacterDatabase.GetPreparedStatement(CHAR_SEL_GUILD_BANK_ITEM_BY_ENTRY); stmt->setUInt32(0, item_id); -- cgit v1.2.3