* 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.
This commit is contained in:
Christopher Faylor
2002-09-30 02:51:22 +00:00
parent 79ed43004f
commit 9d1e72a175
10 changed files with 24 additions and 16 deletions

View File

@@ -134,7 +134,7 @@ int eflags;
return(REG_BADPAT);
eflags = GOODFLAGS(eflags);
if (g->nstates <= CHAR_BIT*sizeof(states1) && !(eflags&REG_LARGE))
if ((unsigned) g->nstates <= CHAR_BIT*sizeof(states1) && !(eflags&REG_LARGE))
return(smatcher(g, (char *)string, nmatch, pmatch, eflags));
else
return(lmatcher(g, (char *)string, nmatch, pmatch, eflags));