diff options
Diffstat (limited to 'libc/regex/regexec.c')
-rw-r--r-- | libc/regex/regexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/regex/regexec.c b/libc/regex/regexec.c index 7b3bfc7..6feed3b 100644 --- a/libc/regex/regexec.c +++ b/libc/regex/regexec.c @@ -153,7 +153,7 @@ regexec(const regex_t *preg, const char *string, size_t nmatch, return(REG_BADPAT); eflags = GOODFLAGS(eflags); - if (g->nstates <= CHAR_BIT*sizeof(states1) && !(eflags®_LARGE)) + if (g->nstates <= (int)(CHAR_BIT*sizeof(states1)) && !(eflags®_LARGE)) return(smatcher(g, (char *)string, nmatch, pmatch, eflags)); else return(lmatcher(g, (char *)string, nmatch, pmatch, eflags)); |