summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2022-06-11 16:08:28 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2022-06-11 16:08:28 -0400
commit286e7f0ad0ba0d9831c30e2634df1ecf2ea68516 (patch)
tree9bd2a546cc9988410c36c19f6b0f5ed0bba1666b
parentbdab22384cc61d315005a65456a9f9563bb27c8f (diff)
downloadlibgit2-286e7f0ad0ba0d9831c30e2634df1ecf2ea68516.tar.gz
cli: show progress on 32 bit machines
-rw-r--r--src/cli/progress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/progress.c b/src/cli/progress.c
index 39b59531d..b17f0e11b 100644
--- a/src/cli/progress.c
+++ b/src/cli/progress.c
@@ -295,7 +295,7 @@ void cli_progress_checkout(
}
progress_printf(progress, false,
- "Checking out files: %3d%% (%lu/%lu)%s\r",
+ "Checking out files: %3d%% (%" PRIuZ "/%" PRIuZ ")%s\r",
percent(completed_steps, total_steps),
completed_steps, total_steps,
done ? ", done." : "");