core: fix compilation warning under Cygwin

v2.8-utf8proc
Sebastien Helleu 2012-02-05 11:25:38 +01:00
parent 706f36e4fd
commit 863a9d37da
1 changed files with 1 additions and 1 deletions

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)
{