fix some things cppcheck found...some are TODO because i don't feel like investigating them

This commit is contained in:
DarthArgus
2015-03-25 19:07:38 -05:00
parent 2c8ee9dc3e
commit 173575e835
15 changed files with 68 additions and 18 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)
{