X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8fea431d27be371a0de77b6ad8d5c062c316590..7011cf1390d5ffc2b3cf132e391131d9acbe8c44:/src/regex/regcomp.c diff --git a/src/regex/regcomp.c b/src/regex/regcomp.c index 8733e373f4..17557ddd14 100644 --- a/src/regex/regcomp.c +++ b/src/regex/regcomp.c @@ -4,7 +4,7 @@ #include #include #include -#include +#include "regex.h" #include "utils.h" #include "regex2.h" @@ -1054,7 +1054,7 @@ freeset(p, cs) register struct parse *p; register cset *cs; { - register int i; + register size_t i; register cset *top = &p->g->sets[p->g->ncsets]; register size_t css = (size_t)p->g->csetsize; @@ -1080,7 +1080,7 @@ register struct parse *p; register cset *cs; { register uch h = cs->hash; - register int i; + register size_t i; register cset *top = &p->g->sets[p->g->ncsets]; register cset *cs2; register size_t css = (size_t)p->g->csetsize; @@ -1113,7 +1113,7 @@ firstch(p, cs) register struct parse *p; register cset *cs; { - register int i; + register size_t i; register size_t css = (size_t)p->g->csetsize; for (i = 0; i < css; i++) @@ -1132,7 +1132,7 @@ nch(p, cs) register struct parse *p; register cset *cs; { - register int i; + register size_t i; register size_t css = (size_t)p->g->csetsize; register int n = 0;