summaryrefslogtreecommitdiff
path: root/src/cmd/restore.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/restore.rs')
-rw-r--r--src/cmd/restore.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/restore.rs b/src/cmd/restore.rs
index 4a637da..223d481 100644
--- a/src/cmd/restore.rs
+++ b/src/cmd/restore.rs
@@ -297,7 +297,7 @@ fn path_to_cstring(path: &Path) -> CString {
fn create_progress_bar(file_count: FileId, verbose: bool) -> ProgressBar {
let progress = if verbose {
- ProgressBar::new(file_count)
+ ProgressBar::new(file_count as u64)
} else {
ProgressBar::hidden()
};