diff --git a/simgear/debug/logstream.hxx b/simgear/debug/logstream.hxx index 4546a5e1..7fee8140 100644 --- a/simgear/debug/logstream.hxx +++ b/simgear/debug/logstream.hxx @@ -185,7 +185,7 @@ inline logbuf::int_type logbuf::overflow( int c ) { #ifdef _MSC_VER - static has_console = false; + static bool has_console = false; if ( logging_enabled ) { if ( !has_console ) { AllocConsole();