Mercurial > emacs
changeset 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 | 46e497d9add2 |
children | 653a7898590b |
files | lib-src/profile.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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; }