summaryrefslogtreecommitdiff
path: root/lib-src/profile.c
diff options
context:
space:
mode:
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;
}