summaryrefslogtreecommitdiff
path: root/src/cmd/restore.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-05-10 05:51:39 +0000
committerLars Wirzenius <liw@liw.fi>2022-05-10 05:51:39 +0000
commit9d93e77ed08b086b705f3c6d52e6f936dc337ade (patch)
treeb04294a85b4bcfb540107e39490018e8f42d5a6f /src/cmd/restore.rs
parent0b6adba069cd1300079c822b14832d690595cfb4 (diff)
parent4913347201f4d00ccaf959c53357241d5bc3f9e0 (diff)
downloadobnam2-9d93e77ed08b086b705f3c6d52e6f936dc337ade.tar.gz
Merge branch 'liw/integer-test' into 'main'
add tests for storing max integers (change FileId to signed) Closes #188 See merge request obnam/obnam!231
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()
};