aboutsummaryrefslogtreecommitdiff
path: root/tar.c
diff options
context:
space:
mode:
Diffstat (limited to 'tar.c')
-rw-r--r--tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tar.c b/tar.c
index 2284fd06d..0177d5188 100644
--- a/tar.c
+++ b/tar.c
@@ -608,7 +608,7 @@ static int readTarFile(const char* tarName, int extractFlag, int listFlag,
608 len1=snprintf(buf, sizeof(buf), "%ld,%-ld ", 608 len1=snprintf(buf, sizeof(buf), "%ld,%-ld ",
609 header.devmajor, header.devminor); 609 header.devmajor, header.devminor);
610 } else { 610 } else {
611 len1=snprintf(buf, sizeof(buf), "%d ", header.size); 611 len1=snprintf(buf, sizeof(buf), "%lu ", (long)header.size);
612 } 612 }
613 /* Jump through some hoops to make the columns match up */ 613 /* Jump through some hoops to make the columns match up */
614 for(;(len+len1)<31;len++) 614 for(;(len+len1)<31;len++)