Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(391)

Unified Diff: base/logging_win.cc

Issue 596103002: Fix more disabled MSVC warnings, base/ edition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comment Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/logging.cc ('k') | base/metrics/field_trial_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « base/logging.cc ('k') | base/metrics/field_trial_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698