Fix -Wsign-conversion warnings

This commit is contained in:
Victor Zverovich committed 2020-03-25 07:46:00 -07:00
1 parent 664dd88e31
commit 96c68afe69
3 files changed
+28 -22

No files matched your search

+1 -1
View File
@@ -2427,7 +2427,7 @@ FMT_CONSTEXPR const Char* parse_align(const Char* begin, const Char* end,
auto c = *begin;
if (c == '{')
return handler.on_error("invalid fill character '{'"), begin;
handler.on_fill(basic_string_view<Char>(begin, p - begin));
handler.on_fill(basic_string_view<Char>(begin, to_unsigned(p - begin)));
begin = p + 1;
} else
++begin;