summaryrefslogtreecommitdiff
path: root/src/core/wee-string.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-02-05 11:25:38 +0100
committerSebastien Helleu <flashcode@flashtux.org>2012-02-05 11:25:38 +0100
commit863a9d37da176514691c014f255251eebca684f4 (patch)
treeaecd2b2c733e07122059b1b18f53bca515726754 /src/core/wee-string.c
parent706f36e4fdc125c55a29e1bb9bbb24dbc2b11dd5 (diff)
downloadweechat-863a9d37da176514691c014f255251eebca684f4.zip
core: fix compilation warning under Cygwin
Diffstat (limited to 'src/core/wee-string.c')
-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 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)
{