aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libfonts_parse_encoding_line.c2
1 files changed, 1 insertions, 1 deletions
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])) {