Commit cc6af505 authored by Victor Zverovich's avatar Victor Zverovich

Fix a warning.

parent e6521448
...@@ -396,7 +396,7 @@ inline const typename fmt::BasicFormatter<Char>::Arg ...@@ -396,7 +396,7 @@ inline const typename fmt::BasicFormatter<Char>::Arg
template <typename Char> template <typename Char>
void fmt::BasicFormatter<Char>::CheckSign(const Char *&s, const Arg &arg) { void fmt::BasicFormatter<Char>::CheckSign(const Char *&s, const Arg &arg) {
char sign = *s; char sign = static_cast<char>(*s);
if (arg.type > LAST_NUMERIC_TYPE) { if (arg.type > LAST_NUMERIC_TYPE) {
ReportError(s, ReportError(s,
Format("format specifier '{}' requires numeric argument") << sign); Format("format specifier '{}' requires numeric argument") << sign);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment