X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8fea431d27be371a0de77b6ad8d5c062c316590..148b44a1e7d050307bba3f10fd4520aa514e196f:/src/regex/regcomp.c diff --git a/src/regex/regcomp.c b/src/regex/regcomp.c index 8733e373f4..a016af0b77 100644 --- a/src/regex/regcomp.c +++ b/src/regex/regcomp.c @@ -1,10 +1,14 @@ +#if defined(__MWERKS__) && !defined(__MACH__) +typedef long off_t ; +#else #include +#endif #include #include #include #include #include -#include +#include "regex.h" #include "utils.h" #include "regex2.h" @@ -1054,7 +1058,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 +1084,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 +1117,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 +1136,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;