diff --git a/src/libregexp/regcomp.c b/src/libregexp/regcomp.c index 09678755..d9deb135 100644 --- a/src/libregexp/regcomp.c +++ b/src/libregexp/regcomp.c @@ -238,7 +238,7 @@ optimize(Reprog *pp) int size; Reprog *npp; Reclass *cl; - int diff; + ptrdiff_t diff; /* * get rid of NOOP chains