Core/Misc: Warning fix

This commit is contained in:
Shauren
2015-10-30 18:32:01 +01:00
parent 2e2bdec28f
commit e62f091a4b

View File

@@ -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;