diff options
Diffstat (limited to 'pcregrep.c')
-rw-r--r-- | pcregrep.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1826,6 +1826,7 @@ while (ptr < endptr) startoffset -= (int)(linelength + endlinelength); t = end_of_line(ptr, endptr, &endlinelength); linelength = t - ptr - endlinelength; + length = (size_t)(endptr - ptr); } goto ONLY_MATCHING_RESTART; |