From 158595849728f923445b7f3920e9d2776ac116f8 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 14 Feb 2005 08:13:47 +0000 Subject: [PATCH] The count of chunks should really be an int32, not a size_t, because that's the maximum size we can transmit over the wire. --- rsync.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsync.h b/rsync.h index 488b4010..49034ac5 100644 --- 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 */ -- 2.34.1