summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-10-08 12:18:09 +0200
committerSébastien Helleu <flashcode@flashtux.org>2022-10-08 12:18:09 +0200
commit193aa0448f90c7834b97070d6703e27ae126beff (patch)
tree0cf7e3b25b1a7cd4d31825b3c03fd4a528df1a8a /src/core
parent3932cf5a006c8f63c344667365cd05954d0817c5 (diff)
downloadweechat-193aa0448f90c7834b97070d6703e27ae126beff.zip
core: fix compilation warning on isdigit function
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++;
}