home *** CD-ROM | disk | FTP | other *** search
- --- regex.c.rtr Sat Oct 1 05:07:02 1994
- +++ regex.c Tue Feb 14 07:05:52 1995
- @@ -1954,7 +1954,7 @@
-
- /* Discard any (non)matching list bytes that are all 0 at the
- end of the map. Decrease the map-length byte too. */
- - while ((int) b[-1] > 0 && b[b[-1] - 1] == 0)
- + while ((long) b[-1] > 0 && b[b[-1] - 1] == 0)
- b[-1]--;
- b += b[-1];
- }
- @@ -3994,7 +3994,7 @@
- regstart[r] = old_regstart[r];
-
- /* xx why this test? */
- - if ((int) old_regend[r] >= (int) regstart[r])
- + if ((long) old_regend[r] >= (long) regstart[r])
- regend[r] = old_regend[r];
- }
- }
-