From 055d305ffe1eb9375e917708faf968e65751ab82 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 14 Dec 2022 17:47:56 -0500 Subject: Avoid implicit conversions --- src/Configuration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Configuration.cpp') diff --git a/src/Configuration.cpp b/src/Configuration.cpp index 705594c9..aaf421cb 100644 --- a/src/Configuration.cpp +++ b/src/Configuration.cpp @@ -134,7 +134,7 @@ Configuration::print_usage(const std::string& program, std::ostream& os) } else { os << " "; } - os.width(_max_name_length + 11); + os.width(static_cast(_max_name_length + 11)); os << std::left; os << (std::string("--") + o.first + variable_string(option.type)); os << option.desc << std::endl; -- cgit v1.2.1