Fix warning
authorGlenn L McGrath <bug1@ihug.co.nz>
Sat, 7 Apr 2001 02:17:36 +0000 (02:17 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Sat, 7 Apr 2001 02:17:36 +0000 (02:17 -0000)
ar.c
archival/ar.c

diff --git a/ar.c b/ar.c
index d666719..89c43b4 100644 (file)
--- a/ar.c
+++ b/ar.c
@@ -216,7 +216,7 @@ extern int ar_main(int argc, char **argv)
                if (funct & verbose) {
                        printf("%s %d/%d %8d %s ", mode_string(extract_list->mode), 
                                extract_list->uid, extract_list->gid,
-                               extract_list->size, time_string(extract_list->mtime));
+                               (int) extract_list->size, time_string(extract_list->mtime));
                }
                if ((funct & display) || (funct & verbose)){
                        printf("%s\n", extract_list->name);
index d666719..89c43b4 100644 (file)
@@ -216,7 +216,7 @@ extern int ar_main(int argc, char **argv)
                if (funct & verbose) {
                        printf("%s %d/%d %8d %s ", mode_string(extract_list->mode), 
                                extract_list->uid, extract_list->gid,
-                               extract_list->size, time_string(extract_list->mtime));
+                               (int) extract_list->size, time_string(extract_list->mtime));
                }
                if ((funct & display) || (funct & verbose)){
                        printf("%s\n", extract_list->name);