From d84d911d37b27e0adeb780266c34ba97c11cb6e5 Mon Sep 17 00:00:00 2001 From: Joao Paulo Magalhaes Date: Thu, 2 Mar 2017 12:19:56 +0000 Subject: [PATCH] Tabular counters: fix missing cast on MSVC. --- src/console_reporter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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