summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShinDarth <borzifrancesco@gmail.com>2016-08-17 10:15:09 +0200
committerShinDarth <borzifrancesco@gmail.com>2016-08-17 10:15:09 +0200
commit5fe8821567c45087ec0e018322374aca90e8ba5d (patch)
tree394b10e964860b127fc6dc1bf678cb2153b60cb1 /src
parent0c554291b51521359b7ca3e7f0ffe615fc9083ff (diff)
Build/Clang: fixed 2 warnings
Diffstat (limited to 'src')
-rw-r--r--src/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp b/src/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp
index 1ec5722f5b..6b2899e26c 100644
--- a/src/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp
+++ b/src/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp
@@ -374,14 +374,14 @@ bool FlightPathMovementGenerator::DoUpdate(Player* player, uint32 /*diff*/)
{
if (i_currentNode >= i_path.size())
{
- sLog->outMisc("TAXI NODE WAS GREATER THAN PATH SIZE, GUID: %u, POINTID: %u, NODESIZE: %u, CURRENT: %u", player->GetGUIDLow(), pointId, i_path.size(), i_currentNode);
+ sLog->outMisc("TAXI NODE WAS GREATER THAN PATH SIZE, GUID: %u, POINTID: %u, NODESIZE: %lu, CURRENT: %u", player->GetGUIDLow(), pointId, i_path.size(), i_currentNode);
player->CleanupAfterTaxiFlight();
return false;
}
if (i_path[i_currentNode]->mapid != player->GetMapId())
{
- sLog->outMisc("Player on different map, curmap: %u, pointmap: %u, nodesize: %u, currentnode: %u", player->GetMapId(), i_path[i_currentNode]->mapid, i_path.size(), i_currentNode);
+ sLog->outMisc("Player on different map, curmap: %u, pointmap: %u, nodesize: %lu, currentnode: %u", player->GetMapId(), i_path[i_currentNode]->mapid, i_path.size(), i_currentNode);
player->CleanupAfterTaxiFlight();
return false;
}