From: Rich Felker Date: Sat, 8 Jun 2013 15:40:27 +0000 (-0400) Subject: fix the type of CLOCKS_PER_SEC to match new clock_t type X-Git-Tag: v0.9.11~33 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=01739902843e93ec6e9bf8e17d32c8ddf73fad81;p=oweals%2Fmusl.git 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. --- 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) \