summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xutf8/utf8Wrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xutf8/utf8Wrap.c b/src/xutf8/utf8Wrap.c
index 541b8c371..5d498f449 100644
--- a/src/xutf8/utf8Wrap.c
+++ b/src/xutf8/utf8Wrap.c
@@ -79,7 +79,7 @@ get_font_list(
while (*ptr) {
int l = 0, i = 0;
- while(isspace(*ptr)) ptr++;
+ while(isspace((int)(unsigned char)*ptr)) ptr++;
p = ptr;
while (*ptr && *ptr != ',') { ptr++; l++; }
if (l > 2) {