aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2015-10-30 18:40:29 +0100
committerShauren <shauren.trinity@gmail.com>2015-10-30 18:40:29 +0100
commit61094c911ddf719c9f9a6264236bcedf028817c4 (patch)
tree5890c82c1396bd134c805bcec01f9dd579462588
parent53d56551bedefc8409b75bbea8fdd4d89e50c682 (diff)
Core/Misc: Warning fix
-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;