From 61094c911ddf719c9f9a6264236bcedf028817c4 Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 30 Oct 2015 18:40:29 +0100 Subject: [PATCH] Core/Misc: Warning fix --- src/server/game/Spells/SpellHistory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/Spells/SpellHistory.cpp b/src/server/game/Spells/SpellHistory.cpp index 07905253b0..d2cf03dc93 100644 --- a/src/server/game/Spells/SpellHistory.cpp +++ b/src/server/game/Spells/SpellHistory.cpp @@ -482,7 +482,7 @@ bool SpellHistory::HasCooldown(SpellInfo const* spellInfo, uint32 itemId /*= 0*/ { for (uint32 i = 0; i < MAX_ITEM_PROTO_SPELLS; ++i) { - if (int32(itemTemplate->Spells[i].SpellId) == spellInfo->Id) + if (uint32(itemTemplate->Spells[i].SpellId) == spellInfo->Id) { category = itemTemplate->Spells[i].SpellCategory; break;