From e62f091a4ba2eb80f8e94ab9a0e17877a17ef0ce Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 30 Oct 2015 18:32:01 +0100 Subject: Core/Misc: Warning fix --- src/server/game/Spells/SpellHistory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/Spells/SpellHistory.cpp b/src/server/game/Spells/SpellHistory.cpp index 13d1c6f50b2..07905253b0e 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 (itemTemplate->Spells[i].SpellId == spellInfo->Id) + if (int32(itemTemplate->Spells[i].SpellId) == spellInfo->Id) { category = itemTemplate->Spells[i].SpellCategory; break; -- cgit v1.2.3