summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/regex/regex2.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-05-04 04:30:37 +0000
committerChristopher Faylor <me@cgf.cx>2009-05-04 04:30:37 +0000
commitb7a15524404ee316e205a26c214ca8d3f04f11a3 (patch)
tree8f8a27b5ca566d92d4b14ab9f482adca9c762489 /winsup/cygwin/regex/regex2.h
parentb65ec404a7aa5e036a7d4de415701be7a7efd5fc (diff)
downloadcygnal-b7a15524404ee316e205a26c214ca8d3f04f11a3.tar.gz
cygnal-b7a15524404ee316e205a26c214ca8d3f04f11a3.tar.bz2
cygnal-b7a15524404ee316e205a26c214ca8d3f04f11a3.zip
* libc/minires.c (scanline): Accommodate ctype changes which disallow use of an
unadorned char argument to is* macros. * 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/regex/regex2.h b/winsup/cygwin/regex/regex2.h
index 8c103fa54..be8b2f5a7 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(c) || (c) == '_')
+#define ISWORD(c) (isalnum((unsigned)c) || (c) == '_')