aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/server/game/Spells/SpellHistory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellHistory.cpp b/src/server/game/Spells/SpellHistory.cpp
index 07905253b0e..d2cf03dc936 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;