Index: base/logging_win.cc |
diff --git a/base/logging_win.cc b/base/logging_win.cc |
index a3c3a5befe0ff0deb71715d60bd03dd3bf6eaaf8..53cc37c4ea32c6ccf09083dd7210388ce8143688 100644 |
--- a/base/logging_win.cc |
+++ b/base/logging_win.cc |
@@ -44,7 +44,7 @@ bool LogEventProvider::LogMessage(logging::LogSeverity severity, |
break; |
} |
} else { // severity < 0 is VLOG verbosity levels. |
- level = TRACE_LEVEL_INFORMATION - severity; |
+ level = static_cast<EtwEventLevel>(TRACE_LEVEL_INFORMATION - severity); |
} |
// Bail if we're not logging, not at that level, |