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 9eeb0d9..552e5c7 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 d88d245..e9b21cb 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)))