summaryrefslogtreecommitdiffstats
path: root/archivers/sharutils/files/patch-ac
blob: 7b018fe3a8678afd40757b6c3d27ed925f946fc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- shar.c.dist	Fri Aug 16 22:19:04 1996
+++ shar.c	Fri Aug 16 22:19:36 1996
@@ -589,7 +589,7 @@
 static int
 generate_one_header_line (const char *local_name, const char *restore_name)
 {
-  fprintf (output, "# %6ld %s %s\n", struct_stat.st_size,
+  fprintf (output, "# %6ld %s %s\n", (long)struct_stat.st_size,
 	   mode_string (struct_stat.st_mode), restore_name);
   return 0;
 }
OpenPOWER on IntegriCloud