mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 16:47:51 +08:00
14 lines
466 B
Diff
14 lines
466 B
Diff
|
diff --git a/c10/util/Logging.cpp b/c10/util/Logging.cpp
|
||
|
index 306dac5..dca802c 100644
|
||
|
--- a/c10/util/Logging.cpp
|
||
|
+++ b/c10/util/Logging.cpp
|
||
|
@@ -272,7 +272,7 @@ void UpdateLoggingLevelsFromFlags() {
|
||
|
|
||
|
void ShowLogInfoToStderr() {
|
||
|
FLAGS_logtostderr = 1;
|
||
|
- FLAGS_minloglevel = std::min(FLAGS_minloglevel, google::GLOG_INFO);
|
||
|
+ FLAGS_minloglevel = std::min(FLAGS_minloglevel, static_cast<decltype(FLAGS_minloglevel)>(google::GLOG_INFO));
|
||
|
}
|
||
|
} // namespace c10
|
||
|
|