libstdc++: Use unsigned char argument to std::isdigit
authorJonathan Wakely <jwakely@redhat.com>
Wed, 5 May 2021 10:19:55 +0000 (11:19 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 5 May 2021 11:50:45 +0000 (12:50 +0100)
commitd0d6ca019717305df0ef41e3fe1da48f7f561fac
tree1f4a7a7a8d4d4abe76a31af46dcc5c103c910c58
parent0bd8a9ef70e5461b68f1ec34a4fbee3eb7021510
libstdc++: Use unsigned char argument to std::isdigit

Passing plain char to isdigit is undefined if the value is negative.

libstdc++-v3/ChangeLog:

* include/std/charconv (__from_chars_alnum): Pass unsigned
char to std::isdigit.
libstdc++-v3/include/std/charconv