From 202aea61e5864603295b47693ec8ca89c7016d08 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 27 Feb 2016 12:48:12 +0200 Subject: [PATCH] Fixed incorrect comparison in OS X console window No more 'comparison between pointer and integer' error --- src/posix/cocoa/st_console.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/posix/cocoa/st_console.mm b/src/posix/cocoa/st_console.mm index e952d22d6..b990b9b33 100644 --- a/src/posix/cocoa/st_console.mm +++ b/src/posix/cocoa/st_console.mm @@ -213,7 +213,7 @@ void FConsoleWindow::AddText(const char* message) if (TEXTCOLOR_ESCAPE == *message) { const BYTE* colorID = reinterpret_cast(message) + 1; - if ('\0' == colorID) + if ('\0' == *colorID) { break; }