Explicitly cast elements of __not_fill to _CharT. Only '{' and ':'
are used as `__not_fill`, so they are never negative.
PR libstdc++/119840
libstdc++-v3/ChangeLog:
* include/std/format (_M_parse_fill_and_align): Cast elements of
__not_fill to _CharT.
constexpr iterator
_M_parse_fill_and_align(iterator __first, iterator __last, string_view __not_fill) noexcept
{
- for (char c : __not_fill)
- if (*__first == c)
+ for (char __c : __not_fill)
+ if (*__first == static_cast<_CharT>(__c))
return __first;
using namespace __unicode;