diff --git a/src/console_reporter.cc b/src/console_reporter.cc index 2df37af7..efa584c8 100644 --- a/src/console_reporter.cc +++ b/src/console_reporter.cc @@ -45,7 +45,7 @@ bool ConsoleReporter::ReportContext(const Context& context) { GetErrorStream() << "Color printing is only supported for stdout on windows." " Disabling color printing\n"; - output_options_ &= ~OO_Color; + output_options_ = static_cast< OutputOptions >(output_options_ & ~OO_Color); } #endif