summaryrefslogtreecommitdiff
path: root/lib-src/profile.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-08-13 15:34:05 +0000
committerRichard M. Stallman <rms@gnu.org>1997-08-13 15:34:05 +0000
commitb281d1fe069dea2c697982ca905cd26ac7cc27c4 (patch)
treecc9c83def2964f7978399a955c6edd85222e49b4 /lib-src/profile.c
parent2a34ec53961e0bd7623573d3ad8c8a8393e99c5a (diff)
downloademacs-b281d1fe069dea2c697982ca905cd26ac7cc27c4.tar.gz
(get_time): Cast arg to fprintf.
Diffstat (limited to 'lib-src/profile.c')
-rw-r--r--lib-src/profile.c2
1 files changed, 1 insertions, 1 deletions
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;
}