summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2004-01-03 18:37:41 +0000
committerWayne Davison <wayned@samba.org>2004-01-03 18:37:41 +0000
commitda9d12f5d93724cb07a4107aa7aff92be9fb2ddb (patch)
tree33dc928b01389b7adb8c55da30de42c29d0dcf00 /options.c
parenta60e2dca6b475e41882d9070c90079dfedf6b5bc (diff)
downloadrsync-da9d12f5d93724cb07a4107aa7aff92be9fb2ddb.tar.gz
Made the types used in the sum_buf and sum_struct structures consistent
with the variables in the code that manipulates these values.
Diffstat (limited to 'options.c')
-rw-r--r--options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/options.c b/options.c
index 915b034e..1fe70b80 100644
--- a/options.c
+++ b/options.c
@@ -78,7 +78,6 @@ int do_progress=0;
int keep_partial=0;
int safe_symlinks=0;
int copy_unsafe_links=0;
-int block_size=0;
int size_only=0;
int bwlimit=0;
int delete_after=0;
@@ -88,6 +87,7 @@ int max_delete=0;
int ignore_errors=0;
int modify_window=0;
int blocking_io=-1;
+unsigned int block_size = 0;
/** Network address family. **/
@@ -790,7 +790,7 @@ void server_options(char **args,int *argc)
if (x != 1) args[ac++] = argstr;
if (block_size) {
- snprintf(bsize,sizeof(bsize),"-B%d",block_size);
+ snprintf(bsize, sizeof bsize, "-B%u", block_size);
args[ac++] = bsize;
}