mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 11:37:50 +08:00
683c1dfd2d
- [X] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md) - [X] SHA512s are updated for each updated download - [ ] ~The "supports" clause reflects platforms that may be fixed by this new version~ - [ ] ~Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file.~ - [ ] ~Any patches that are no longer applied are deleted from the port's directory.~ - [X] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [X] Only one version is added to each modified port's versions file.
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
|
|
|