summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c
index df53be8..d83bad2 100644
--- a/src/print.c
+++ b/src/print.c
@@ -67,7 +67,7 @@ void apk_print_progress(int percent_flags)
}
if (apk_progress_fd != 0) {
- i = snprintf(buf, sizeof(buf), "%zu\n", percent);
+ i = snprintf(buf, sizeof(buf), "%i\n", percent);
write(apk_progress_fd, buf, i);
}
}