Merge pull request #2991 from xdqi/master
Fix compilation error under Visual Studio 2010
This commit is contained in:
commit
8ba1b1cd2e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user