aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/BattlePets/BattlePetMgr.cpp
diff options
context:
space:
mode:
authorCarbenium <carbenium@outlook.com>2015-11-28 01:02:13 +0100
committerCarbenium <carbenium@outlook.com>2015-11-28 01:02:13 +0100
commitc0c4ed7135482042a81d9e8e5f2435301771b00b (patch)
tree49e5f966cfb3c415c9e32c9e9efdb86e4aac4625 /src/server/game/BattlePets/BattlePetMgr.cpp
parentd03ca37f10e74ec7fe5d06957d66574b0fe14af2 (diff)
Misc: Fix some warnings reported by GCC 4.9
Diffstat (limited to 'src/server/game/BattlePets/BattlePetMgr.cpp')
-rw-r--r--src/server/game/BattlePets/BattlePetMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/BattlePets/BattlePetMgr.cpp b/src/server/game/BattlePets/BattlePetMgr.cpp
index c8d26781097..925e9c71903 100644
--- a/src/server/game/BattlePets/BattlePetMgr.cpp
+++ b/src/server/game/BattlePets/BattlePetMgr.cpp
@@ -445,7 +445,7 @@ void BattlePetMgr::SummonPet(ObjectGuid guid)
return;
// TODO: set proper CreatureID for spell DEFAULT_SUMMON_BATTLE_PET_SPELL (default EffectMiscValueA is 40721 - Murkimus the Gladiator)
- _owner->GetPlayer()->CastSpell(_owner->GetPlayer(), speciesEntry->SummonSpellID ? speciesEntry->SummonSpellID : DEFAULT_SUMMON_BATTLE_PET_SPELL);
+ _owner->GetPlayer()->CastSpell(_owner->GetPlayer(), speciesEntry->SummonSpellID ? speciesEntry->SummonSpellID : uint32(DEFAULT_SUMMON_BATTLE_PET_SPELL));
// TODO: set pet level, quality... update fields
}