From 863a9d37da176514691c014f255251eebca684f4 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 5 Feb 2012 11:25:38 +0100 Subject: core: fix compilation warning under Cygwin --- src/core/wee-string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/wee-string.c') diff --git a/src/core/wee-string.c b/src/core/wee-string.c index 99b9dcf9c..885d88ec8 100644 --- a/src/core/wee-string.c +++ b/src/core/wee-string.c @@ -757,7 +757,7 @@ string_regex_flags (const char *regex, int default_flags, int *flags) pos = strchr (ptr_regex, ')'); if (!pos) break; - if (!isalpha (ptr_regex[2]) && (ptr_regex[2] != '-')) + if (!isalpha ((unsigned char)ptr_regex[2]) && (ptr_regex[2] != '-')) break; if (flags) { -- cgit v1.2.3