diff options
author | Christopher Faylor <me@cgf.cx> | 2002-09-30 02:51:22 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-09-30 02:51:22 +0000 |
commit | 9d1e72a175495da5e6fb65582909169fd4b8a4a3 (patch) | |
tree | e1dafddbbc31cce15fb5c0596941c8fda4f2e7e0 /winsup/cygwin/regex/regexec.c | |
parent | 79ed43004f82508fc5b75e5eaf2f890cd63ad1fc (diff) | |
download | cygnal-9d1e72a175495da5e6fb65582909169fd4b8a4a3.tar.gz cygnal-9d1e72a175495da5e6fb65582909169fd4b8a4a3.tar.bz2 cygnal-9d1e72a175495da5e6fb65582909169fd4b8a4a3.zip |
* environ.cc (environ_init): Avoid a compiler warning.
* path.cc (path_conv::check): Ditto.
* path.h (path_conv::operator int): Ditto.
* regex/engine.c: Ditto throughout.
* regex/regcomp.c: Ditto throughout.
* regex/regexec.c: Ditto throughout.
Diffstat (limited to 'winsup/cygwin/regex/regexec.c')
-rw-r--r-- | winsup/cygwin/regex/regexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/regex/regexec.c b/winsup/cygwin/regex/regexec.c index 5ab72e00e..35b99c272 100644 --- a/winsup/cygwin/regex/regexec.c +++ b/winsup/cygwin/regex/regexec.c @@ -134,7 +134,7 @@ int eflags; return(REG_BADPAT); eflags = GOODFLAGS(eflags); - if (g->nstates <= CHAR_BIT*sizeof(states1) && !(eflags®_LARGE)) + if ((unsigned) g->nstates <= CHAR_BIT*sizeof(states1) && !(eflags®_LARGE)) return(smatcher(g, (char *)string, nmatch, pmatch, eflags)); else return(lmatcher(g, (char *)string, nmatch, pmatch, eflags)); |