* 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.
This commit is contained in:
Corinna Vinschen
2009-05-06 12:03:34 +00:00
parent e1de7bfabd
commit eed691a929
4 changed files with 17 additions and 10 deletions

View File

@@ -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) == '_')