summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-string.c2
1 files changed, 1 insertions, 1 deletions
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++;
}