Fix handling of wide alignment

This commit is contained in:
Victor Zverovich
2020-09-15 06:53:06 -07:00
parent f80ed64dd9
commit 5b5a597198
2 changed files with 2 additions and 1 deletions

View File

@@ -2501,7 +2501,7 @@ FMT_CONSTEXPR const Char* parse_align(const Char* begin, const Char* end,
auto p = next_code_point(begin, end);
if (p == end) p = begin;
for (;;) {
switch (static_cast<char>(*p)) {
switch (static_cast<int>(*p)) {
case '<':
align = align::left;
break;