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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user