summaryrefslogtreecommitdiff
path: root/flist.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-01-23 12:30:34 +0000
committerAndrew Tridgell <tridge@samba.org>2000-01-23 12:30:34 +0000
commit5f808dfbd71b0e40d0fd2976dceb2feaf024b6ca (patch)
treed63a765e5f3d62ee201f7c57aa0653e8379f3c44 /flist.c
parent0b73ca12fa018b3f6e45cc54912423930b3d6758 (diff)
downloadrsync-5f808dfbd71b0e40d0fd2976dceb2feaf024b6ca.tar.gz
fix a problem with files > 2GB
(thanks to T.J.Adye@rl.ac.uk)
Diffstat (limited to 'flist.c')
-rw-r--r--flist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/flist.c b/flist.c
index b97c919e..cc5c3113 100644
--- a/flist.c
+++ b/flist.c
@@ -999,12 +999,12 @@ static void clean_flist(struct file_list *flist, int strip_root)
if (verbose <= 3) return;
for (i=0;i<flist->count;i++) {
- rprintf(FINFO,"[%d] i=%d %s %s mode=0%o len=%d\n",
+ rprintf(FINFO,"[%d] i=%d %s %s mode=0%o len=%.0f\n",
getpid(), i,
NS(flist->files[i]->dirname),
NS(flist->files[i]->basename),
flist->files[i]->mode,
- (int)flist->files[i]->length);
+ (double)flist->files[i]->length);
}
}