fix a problem with files > 2GB
[rsync.git] / flist.c
diff --git a/flist.c b/flist.c
index b97c919eefd03bf5dde3e8579d63defefb33fe26..cc5c3113b89245cf283a8e5ecba4e1b6becb10dd 100644 (file)
--- 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);
        }
 }