about summary refs log tree commit diff
path: root/include/time.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-06-08 11:40:27 -0400
committerRich Felker <dalias@aerifal.cx>2013-06-08 11:40:27 -0400
commit01739902843e93ec6e9bf8e17d32c8ddf73fad81 (patch)
tree6d6b98a6a84a3f01fd28e8b3964bf90ede88742e /include/time.h
parentea200e38bd79723054c7ad97cbf87911eac5b7f5 (diff)
downloadmusl-01739902843e93ec6e9bf8e17d32c8ddf73fad81.tar.gz
musl-01739902843e93ec6e9bf8e17d32c8ddf73fad81.tar.xz
musl-01739902843e93ec6e9bf8e17d32c8ddf73fad81.zip
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.
Diffstat (limited to 'include/time.h')
-rw-r--r--include/time.h2
1 files changed, 1 insertions, 1 deletions
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) \