Fix from Jos for batch mode on Solaris.
[rsync/rsync.git] / batch.c
diff --git a/batch.c b/batch.c
index 237d57b..f27e6fc 100644 (file)
--- a/batch.c
+++ b/batch.c
@@ -396,7 +396,7 @@ void write_batch_csum_info(int *flist_entry, int flist_count,
                           struct sum_struct *s)
 {
        size_t i;
-       unsigned int int_zero = 0;
+       size_t int_zero = 0;
        extern int csum_length;
 
        fdb_open = 1;