aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2015-10-30 18:32:01 +0100
committerShauren <shauren.trinity@gmail.com>2015-10-30 18:32:01 +0100
commite62f091a4ba2eb80f8e94ab9a0e17877a17ef0ce (patch)
treebd27762d478c0b2883ca17d4a1a01182bd5086f4 /src
parent2e2bdec28f5a65bf5d0c75d2e666dfdce2785512 (diff)
Core/Misc: Warning fix
Diffstat (limited to 'src')
-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 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;