core: fix compilation warning under Cygwin
parent
706f36e4fd
commit
863a9d37da
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue