# HG changeset patch # User Richard M. Stallman # Date 871486445 0 # Node ID bd0dd246f9cdbd330a8154057f330ce4e1957732 # Parent 46e497d9add2f4a85fd2d69f79062cf65f8142d1 (get_time): Cast arg to fprintf. diff -r 46e497d9add2 -r bd0dd246f9cd lib-src/profile.c --- 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; }