diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/strto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strto.c b/lib/strto.c index 72903a57c07..53886722138 100644 --- a/lib/strto.c +++ b/lib/strto.c @@ -18,7 +18,7 @@ static const char *_parse_integer_fixup_radix(const char *s, unsigned int *base) { if (*base == 0) { if (s[0] == '0') { - if (tolower(s[1]) == 'x' && isxdigit(s[2])) + if (tolower(s[1]) == 'x') *base = 16; else *base = 8; |