fixed a bug handling files larger than 2GB
authorAndrew Tridgell <tridge@samba.org>
Mon, 16 Nov 1998 03:53:43 +0000 (03:53 +0000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 16 Nov 1998 03:53:43 +0000 (03:53 +0000)
match.c

diff --git a/match.c b/match.c
index 845bd35..dc4dbd1 100644 (file)
--- a/match.c
+++ b/match.c
@@ -94,7 +94,7 @@ static void matched(int f,struct sum_struct *s,struct map_struct *buf,
                    OFF_T offset,int i)
 {
        OFF_T n = offset - last_match;
-       int j;
+       OFF_T j;
 
        if (verbose > 2 && i >= 0)
                rprintf(FINFO,"match at %d last_match=%d j=%d len=%d n=%d\n",