1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 22:06:38 +02:00

core: fix compilation warning under Cygwin

This commit is contained in:
Sebastien Helleu
2012-02-05 11:25:38 +01:00
parent 706f36e4fd
commit 863a9d37da
+1 -1
View File
@@ -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)
{