X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/770dba7a7b7a2886a908ae3317dbb11712aaa723..e32f4a9fa9de5c47574e5ee16c4d8afade3b0d34:/src/regex/regcomp.c diff --git a/src/regex/regcomp.c b/src/regex/regcomp.c index bb44525ba4..a016af0b77 100644 --- a/src/regex/regcomp.c +++ b/src/regex/regcomp.c @@ -1,4 +1,8 @@ +#if defined(__MWERKS__) && !defined(__MACH__) +typedef long off_t ; +#else #include +#endif #include #include #include @@ -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;