summaryrefslogtreecommitdiff
path: root/src/buildtool/common/cli.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/common/cli.hpp')
-rw-r--r--src/buildtool/common/cli.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buildtool/common/cli.hpp b/src/buildtool/common/cli.hpp
index 7c2cd65c..feb58a6d 100644
--- a/src/buildtool/common/cli.hpp
+++ b/src/buildtool/common/cli.hpp
@@ -176,9 +176,9 @@ static inline auto SetupLogArguments(
},
fmt::format("Log limit (higher is more verbose) in interval [{},{}] "
"(Default: {}).",
- kFirstLogLevel,
- kLastLogLevel,
- kDefaultLogLevel))
+ static_cast<int>(kFirstLogLevel),
+ static_cast<int>(kLastLogLevel),
+ static_cast<int>(kDefaultLogLevel)))
->type_name("NUM");
app->add_flag("--plain-log",
clargs->plain_log,