summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/regex/regex2.h
diff options
context:
space:
mode:
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) == '_')