diff options
| author | Gacko <gacko28@gmx.de> | 2015-11-15 19:55:19 +0100 |
|---|---|---|
| committer | Gacko <gacko28@gmx.de> | 2015-11-15 19:55:19 +0100 |
| commit | fb242d2b4213c07175bf7e1e750ae5c6c6a47df8 (patch) | |
| tree | 4324db2639f9f2f2577bee58467c138f5724c4f9 /src | |
| parent | 98e7ab44615af90d477b845802da04f4f6c4d6cf (diff) | |
Fix build.
Thanks to @jackpoz / @Shauren
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/game/Server/Packets/BattlePetPackets.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Server/Packets/BattlePetPackets.cpp b/src/server/game/Server/Packets/BattlePetPackets.cpp index 43e08e75eea..000a4719f5e 100644 --- a/src/server/game/Server/Packets/BattlePetPackets.cpp +++ b/src/server/game/Server/Packets/BattlePetPackets.cpp @@ -81,7 +81,7 @@ WorldPacket const* WorldPackets::BattlePet::BattlePetJournal::Write() WorldPacket const* WorldPackets::BattlePet::BattlePetUpdates::Write() { - _worldPacket << Pets.size(); + _worldPacket << uint32(Pets.size()); for (auto const& pet : Pets) _worldPacket << pet; @@ -95,7 +95,7 @@ WorldPacket const* WorldPackets::BattlePet::BattlePetUpdates::Write() WorldPacket const* WorldPackets::BattlePet::PetBattleSlotUpdates::Write() { - _worldPacket << Slots.size(); + _worldPacket << uint32(Slots.size()); for (auto const& slot : Slots) _worldPacket << slot; |
