]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Changed one size_t var into an int32.
authorWayne Davison <wayned@samba.org>
Mon, 14 Feb 2005 22:47:42 +0000 (22:47 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 14 Feb 2005 22:47:42 +0000 (22:47 +0000)
generator.c
sender.c

index 9eeb0d9b4be7636862ee2f45f417feb2f4675052..552e5c702a3c097ac4b623eb7d6792689b331048 100644 (file)
@@ -187,7 +187,7 @@ static void sum_sizes_sqroot(struct sum_struct *sum, int64 len)
  */
 static void generate_and_send_sums(int fd, OFF_T len, int f_out, int f_copy)
 {
-       size_t i;
+       int32 i;
        struct map_struct *mapbuf;
        struct sum_struct sum;
        OFF_T offset = 0;
index d88d245ad56a22eba9183ba680bc5c3b6b19d1f8..e9b21cb520a78142bfc76a04aa16a763603ac123 100644 (file)
--- a/sender.c
+++ b/sender.c
@@ -47,7 +47,7 @@ extern struct stats stats;
 static struct sum_struct *receive_sums(int f)
 {
        struct sum_struct *s;
-       size_t i;
+       int32 i;
        OFF_T offset = 0;
 
        if (!(s = new(struct sum_struct)))