aboutsummaryrefslogtreecommitdiffstats
path: root/rsync.h
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-02-14 08:13:47 +0000
committerWayne Davison <wayned@samba.org>2005-02-14 08:13:47 +0000
commit158595849728f923445b7f3920e9d2776ac116f8 (patch)
tree6c37de4cc9636c115c7608881bdfe27023d96962 /rsync.h
parent7cacd47eddc8fc7d932a67ab7775c428e8387bbe (diff)
downloadandroid_external_rsync-158595849728f923445b7f3920e9d2776ac116f8.tar.gz
android_external_rsync-158595849728f923445b7f3920e9d2776ac116f8.tar.bz2
android_external_rsync-158595849728f923445b7f3920e9d2776ac116f8.zip
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.
Diffstat (limited to 'rsync.h')
-rw-r--r--rsync.h2
1 files changed, 1 insertions, 1 deletions
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 */