[12130] Fix more warnings. close #5

* Remove warning: format '<format>' expects type '<type1>', but argument has type 'size_t'
* Remove warning: statement has no effect

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
Shyax 2012-08-28 13:01:38 +02:00 committed by Antz
parent 23c0c6ab3a
commit 5d2dda2e2c
5 changed files with 7 additions and 7 deletions

View file

@ -5415,7 +5415,7 @@ bool ChatHandler::HandleMmapPathCommand(char* args)
PointsArray pointPath = path.getPath();
PSendSysMessage("%s's path to %s:", target->GetName(), player->GetName());
PSendSysMessage("Building %s", useStraightPath ? "StraightPath" : "SmoothPath");
PSendSysMessage("length %i type %u", pointPath.size(), path.getPathType());
PSendSysMessage("length " SIZEFMTD " type %u", pointPath.size(), path.getPathType());
Vector3 start = path.getStartPosition();
Vector3 end = path.getEndPosition();