The count of chunks should really be an int32, not a size_t,
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 488b401..49034ac 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -533,7 +533,7 @@ struct sum_buf {
 struct sum_struct {
        OFF_T flength;          /**< total file length */
        struct sum_buf *sums;   /**< points to info for each chunk */
-       size_t count;           /**< how many chunks */
+       int32 count;            /**< how many chunks */
        int32 blength;          /**< block_length */
        int32 remainder;        /**< flength % block_length */
        int s2length;           /**< sum2_length */