Core: Fix compile warnings

This commit is contained in:
Nay
2013-01-22 19:34:04 +00:00
parent 7a76de93f8
commit 6fc17c6b1e
6 changed files with 10 additions and 10 deletions

View File

@@ -98,7 +98,7 @@ public:
PointsArray pointPath = path.GetPath();
handler->PSendSysMessage("%s's path to %s:", target->GetName().c_str(), player->GetName().c_str());
handler->PSendSysMessage("Building: %s", useStraightPath ? "StraightPath" : "SmoothPath");
handler->PSendSysMessage("Result: %s - Length: %i - Type: %u", (result ? "true" : "false"), pointPath.size(), path.GetPathType());
handler->PSendSysMessage("Result: %s - Length: "SIZEFMTD" - Type: %u", (result ? "true" : "false"), pointPath.size(), path.GetPathType());
Vector3 start = path.GetStartPosition();
Vector3 end = path.GetEndPosition();
@@ -264,7 +264,7 @@ public:
if (!creatureList.empty())
{
handler->PSendSysMessage("Found %i Creatures.", creatureList.size());
handler->PSendSysMessage("Found "SIZEFTMD" Creatures.", creatureList.size());
uint32 paths = 0;
uint32 uStartTime = getMSTime();