aboutsummaryrefslogtreecommitdiff
path: root/lib/tar
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tar')
-rw-r--r--lib/tar/read_header.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/tar/read_header.c b/lib/tar/read_header.c
index eaea6db..63de699 100644
--- a/lib/tar/read_header.c
+++ b/lib/tar/read_header.c
@@ -448,16 +448,16 @@ out_eof:
clear_header(out);
return 1;
fail_slink_len:
- fprintf(stderr, "rejecting GNU symlink header with size %zu\n",
- pax_size);
+ fprintf(stderr, "rejecting GNU symlink header with size %lu\n",
+ (unsigned long)pax_size);
goto fail;
fail_path_len:
- fprintf(stderr, "rejecting GNU long path header with size %zu\n",
- pax_size);
+ fprintf(stderr, "rejecting GNU long path header with size %lu\n",
+ (unsigned long)pax_size);
goto fail;
fail_pax_len:
- fprintf(stderr, "rejecting PAX header with size %zu\n",
- pax_size);
+ fprintf(stderr, "rejecting PAX header with size %lu\n",
+ (unsigned long)pax_size);
goto fail;
fail_magic:
fputs("input is not a ustar tar archive!\n", stderr);