From 450b2fe79521550175117d6c1058f2d4a57f1ddb Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 21 Jan 2023 14:32:53 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libfonts_parse_encoding_line.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfonts_parse_encoding_line.c b/libfonts_parse_encoding_line.c index 07b6a85..6750b1e 100644 --- a/libfonts_parse_encoding_line.c +++ b/libfonts_parse_encoding_line.c @@ -57,7 +57,7 @@ get_uints(uintmax_t *u1p, uintmax_t *u2p, uintmax_t *u3p, uintmax_t max, int r = 0; uintmax_t u, *up, digit; - while (r < INT_MAX && isdigit(*s)) { + while (r < INT_MAX) { u = 0; if (s[0] == '0' && (s[1] == 'x' || s[1] == 'X') && isxdigit(s[2])) { -- cgit v1.2.3-70-g09d2