about summary refs log tree commit diff
path: root/time/clocktest.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/clocktest.c')
-rw-r--r--time/clocktest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/time/clocktest.c b/time/clocktest.c
index 2e6457d56a..13b7420e2e 100644
--- a/time/clocktest.c
+++ b/time/clocktest.c
@@ -30,7 +30,7 @@ main (int argc, char ** argv)
 
   printf ("%jd clock ticks per second (start=%jd,stop=%jd)\n",
 	  (intmax_t) (stop - start), (intmax_t) start, (intmax_t) stop);
-  printf ("CLOCKS_PER_SEC=%ld, sysconf(_SC_CLK_TCK)=%ld\n",
-	  CLOCKS_PER_SEC, sysconf(_SC_CLK_TCK));
+  printf ("CLOCKS_PER_SEC=%jd, sysconf(_SC_CLK_TCK)=%ld\n",
+	  (intmax_t) CLOCKS_PER_SEC, sysconf(_SC_CLK_TCK));
   return 0;
 }