From 6588b0cacee20edf01585e15d5e43fc66e25d1ab Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Wed, 4 May 2022 16:45:14 -0600 Subject: [PATCH] test/zck_cmp_uncomp: fix printf format types Signed-off-by: James Hilliard --- test/zck_cmp_uncomp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/zck_cmp_uncomp.c b/test/zck_cmp_uncomp.c index bdf9205..9713492 100644 --- a/test/zck_cmp_uncomp.c +++ b/test/zck_cmp_uncomp.c @@ -216,7 +216,7 @@ int main (int argc, char *argv[]) { size_t todwl = 0; size_t reuse = 0; while (iter) { - printf("%12lu %s %s %12lu %12lu\n", + printf("%zd %s %s %zd %zd\n", zck_get_chunk_number(iter), zck_get_chunk_valid(iter) ? "SRC" : "DST", zck_get_chunk_digest_uncompressed(iter), @@ -232,8 +232,8 @@ int main (int argc, char *argv[]) { iter = zck_get_next_chunk(iter); } - printf("\n\nTotal to be reused : %12lu\n", reuse); - printf("Total to be downloaded : %12lu\n", todwl); + printf("\n\nTotal to be reused : %zu\n", reuse); + printf("Total to be downloaded : %zu\n", todwl); close(in_fd); close(zck_fd); -- 2.30.2