--- src/shar.c.orig	Sun Jun  8 22:47:22 1997
+++ src/shar.c	Sun Jun  8 22:47:37 1997
@@ -688,7 +688,7 @@
      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;
 }
