From 193aa0448f90c7834b97070d6703e27ae126beff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 8 Oct 2022 12:18:09 +0200 Subject: core: fix compilation warning on isdigit function --- src/core/wee-string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/wee-string.c b/src/core/wee-string.c index 6afbd7774..cecc02f2a 100644 --- a/src/core/wee-string.c +++ b/src/core/wee-string.c @@ -3009,7 +3009,7 @@ string_parse_size (const char *size) goto end; pos = size; - while (isdigit (pos[0])) + while (isdigit ((unsigned char)pos[0])) { pos++; } -- cgit v1.2.3