Merge pull request #2991 from xdqi/master

Fix compilation error under Visual Studio 2010
This commit is contained in:
Hardening 2015-11-30 10:52:40 +01:00
commit 8ba1b1cd2e

View File

@ -55,10 +55,11 @@ static BOOL WLog_ConsoleAppender_WriteMessage(wLog* log, wLogAppender* appender,
{
FILE* fp;
char prefix[WLOG_MAX_PREFIX_SIZE];
wLogConsoleAppender *consoleAppender;
if (!appender)
return FALSE;
wLogConsoleAppender *consoleAppender = (wLogConsoleAppender *)appender;
consoleAppender = (wLogConsoleAppender *)appender;
message->PrefixString = prefix;