From a4dafbf8ec26fa33ce51140bb77b0b1a68df93ff Mon Sep 17 00:00:00 2001 From: Machiavelli Date: Thu, 18 Jun 2009 18:29:28 +0200 Subject: * More updating of iterator data types in loops --HG-- branch : trunk --- src/game/Level3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Level3.cpp') diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp index 6f98244a811..5e8ca3f3c30 100644 --- a/src/game/Level3.cpp +++ b/src/game/Level3.cpp @@ -5085,7 +5085,7 @@ bool ChatHandler::HandleListAurasCommand (const char * /*args*/) IS_PLAYER_GUID(itr->second->GetCasterGUID()) ? "player" : "creature",GUID_LOPART(itr->second->GetCasterGUID())); } } - for (int i = 0; i < TOTAL_AURAS; ++i) + for (uint16 i = 0; i < TOTAL_AURAS; ++i) { Unit::AuraEffectList const& uAuraList = unit->GetAurasByType(AuraType(i)); if (uAuraList.empty()) continue; -- cgit v1.2.3