recommit the innocuous fixes from cppcheck - the va_end calls were deleting pointers and breaking things further down the line

This commit is contained in:
DarthArgus
2015-04-02 19:40:05 -05:00
parent db15932436
commit bc33f176c2
7 changed files with 11 additions and 13 deletions
@@ -79,7 +79,7 @@ bool ConsoleCommandParserGame::performParsing(const NetworkId & track, const Str
if(argv.size() > 2)
{
unsigned int pid;
sscanf(Unicode::wideToNarrow(argv[2]).c_str(), "%d", &pid);
sscanf(Unicode::wideToNarrow(argv[2]).c_str(), "%u", &pid);
GameServerConnection * gameConn = CentralServer::getInstance().getGameServer(pid);
if(gameConn)
{