From: Richard M. Stallman Date: Wed, 13 Aug 1997 15:34:05 +0000 (+0000) Subject: (get_time): Cast arg to fprintf. X-Git-Tag: emacs-20.1~611 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9ae177785fa18ed04f9e5ffd7faee42d6b8b7f92;p=emacs.git (get_time): Cast arg to fprintf. --- diff --git a/lib-src/profile.c b/lib-src/profile.c index b0c713e69dd..2b27ce06119 100644 --- a/lib-src/profile.c +++ b/lib-src/profile.c @@ -58,7 +58,7 @@ get_time () 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; }