Core/Misc: Warning fixes

(cherry picked from commit cc4d79495f98006f77c68792b946a412f5e86714)

Partial cherry-picked.

Signed-off-by: Naios <naios-dev@live.de>
This commit is contained in:
Shauren authored and Naios committed 2015-04-05 01:20:11 +02:00
1 parent c0b77fc216
commit 62a3edb84a
3 files changed
+14 -15

No files matched your search

+1 -1
View File
@@ -308,7 +308,7 @@ void ShutdownCLIThread(std::thread* cliThread)
errorBuffer = "Unknown error";
TC_LOG_DEBUG("server.worldserver", "Error cancelling I/O of CliThread, error code %u, detail: %s",
errorCode, errorBuffer);
uint32(errorCode), errorBuffer);
LocalFree(errorBuffer);
// send keyboard input to safely unblock the CLI thread