From 01739902843e93ec6e9bf8e17d32c8ddf73fad81 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 8 Jun 2013 11:40:27 -0400 Subject: fix the type of CLOCKS_PER_SEC to match new clock_t type originally it was right on 32-bit archs and wrong on 64-bit, but after recent changes it was wrong everywhere. with this commit, it's now right everywhere. --- include/time.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/time.h') diff --git a/include/time.h b/include/time.h index 09a65cff..56ffacf5 100644 --- a/include/time.h +++ b/include/time.h @@ -55,7 +55,7 @@ struct tm *localtime (const time_t *); char *asctime (const struct tm *); char *ctime (const time_t *); -#define CLOCKS_PER_SEC 1000000UL +#define CLOCKS_PER_SEC 1000000L #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ -- cgit v1.2.1