summaryrefslogtreecommitdiff
path: root/strings/ctype.c
diff options
context:
space:
mode:
Diffstat (limited to 'strings/ctype.c')
-rw-r--r--strings/ctype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/ctype.c b/strings/ctype.c
index 43e9b290b3e..c78736f10c8 100644
--- a/strings/ctype.c
+++ b/strings/ctype.c
@@ -425,7 +425,7 @@ scan_one_character(const char *s, const char *e, my_wc_t *wc)
wc[0]= 0;
return len;
}
- else if (s[0] > 0) /* 7-bit character */
+ else if ((int8) s[0] > 0) /* 7-bit character */
{
wc[0]= 0;
return 1;