diff lib-src/profile.c @ 19337:bd0dd246f9cd

(get_time): Cast arg to fprintf.
author Richard M. Stallman <rms@gnu.org>
date Wed, 13 Aug 1997 15:34:05 +0000
parents 5f9426e991a3
children 134b57acef68
line wrap: on
line diff
--- a/lib-src/profile.c	Wed Aug 13 15:28:47 1997 +0000
+++ b/lib-src/profile.c	Wed Aug 13 15:34:05 1997 +0000
@@ -58,7 +58,7 @@
     exit (1);  /* call reset_watch first ! */
   EMACS_GET_TIME (TV2);
   EMACS_SUB_TIME (TV2, TV2, TV1);
-  sprintf (time_string, "%lu.%06lu", EMACS_SECS (TV2), EMACS_USECS (TV2));
+  sprintf (time_string, "%lu.%06lu", (unsigned long)EMACS_SECS (TV2), (unsigned long)EMACS_USECS (TV2));
   return time_string;
 }