summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/untar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/untar.c b/contrib/untar.c
index 7c34bf71..c4cc2bf9 100644
--- a/contrib/untar.c
+++ b/contrib/untar.c
@@ -140,7 +140,7 @@ untar(FILE *a, const char *path)
if (bytes_read < 512) {
fprintf(stderr,
"Short read on %s: expected 512, got %d\n",
- path, bytes_read);
+ path, (int)bytes_read);
return;
}
if (is_end_of_archive(buff)) {
@@ -183,7 +183,7 @@ untar(FILE *a, const char *path)
if (bytes_read < 512) {
fprintf(stderr,
"Short read on %s: Expected 512, got %d\n",
- path, bytes_read);
+ path, (int)bytes_read);
return;
}
if (filesize < 512)