(ange-ftp-tmp-name-template): Use temporary-file-directory.
[bpt/emacs.git] / lib-src / profile.c
index 10148e0..2b27ce0 100644 (file)
@@ -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;
 }
 
@@ -79,7 +79,7 @@ gettimeofday (tp, tzp)
  
 #endif
 \f
-void
+int
 main ()
 {
   int c;