diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-05-06 12:03:34 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-05-06 12:03:34 +0000 |
commit | eed691a929c282b1f85799c63e05667087054771 (patch) | |
tree | a21e4d62375c419a5782714336636e09499a5621 /winsup/cygwin/regex/regex2.h | |
parent | e1de7bfabdcc0a5530b9f16cbf4c6bfb2b47b506 (diff) | |
download | cygnal-eed691a929c282b1f85799c63e05667087054771.tar.gz cygnal-eed691a929c282b1f85799c63e05667087054771.tar.bz2 cygnal-eed691a929c282b1f85799c63e05667087054771.zip |
* libc/minires.c (scanline): Fix type in calls to ctype functions
to stay in unsigned char range for char values >= 0x80.
* regex/regcomp.c: Ditto, throughout.
* regex/regex2.h (ISWORD): Ditto.
Diffstat (limited to 'winsup/cygwin/regex/regex2.h')
-rw-r--r-- | winsup/cygwin/regex/regex2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/regex/regex2.h b/winsup/cygwin/regex/regex2.h index be8b2f5a7..176038ab0 100644 --- a/winsup/cygwin/regex/regex2.h +++ b/winsup/cygwin/regex/regex2.h @@ -131,4 +131,4 @@ struct re_guts { /* misc utilities */ #define OUT (CHAR_MAX+1) /* a non-character value */ -#define ISWORD(c) (isalnum((unsigned)c) || (c) == '_') +#define ISWORD(c) (isalnum((unsigned char)c) || (c) == '_') |