diff options
author | peter <peter@FreeBSD.org> | 2002-02-08 03:55:37 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-02-08 03:55:37 +0000 |
commit | bfa45f9454fd5b884988a46f39918e6acd9428d0 (patch) | |
tree | 09605b456ba2bb9fa5ddf01f407be91c84e67f5a | |
parent | 67d2168b444f70d939b6693cd25c62f2c9c5cfca (diff) | |
download | FreeBSD-src-bfa45f9454fd5b884988a46f39918e6acd9428d0.zip FreeBSD-src-bfa45f9454fd5b884988a46f39918e6acd9428d0.tar.gz |
Fix world breakage (compiling libstdc++):
sys/time.h:137: integer constant out of range
sys/time.h:137: warning: decimal integer constant is so large that it is unsigned
sys/time.h:153: integer constant out of range
sys/time.h:153: warning: decimal integer constant is so large that it is unsigned
-rw-r--r-- | sys/sys/time.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/time.h b/sys/sys/time.h index 396b626..7347ffc 100644 --- a/sys/sys/time.h +++ b/sys/sys/time.h @@ -134,7 +134,7 @@ timespec2bintime(struct timespec *ts, struct bintime *bt) { bt->sec = ts->tv_sec; - bt->frac = ts->tv_nsec * 18446744073; /* int(2^64 / 1000000000) */ + bt->frac = ts->tv_nsec * 18446744073ULL; /* int(2^64 / 1000000000) */ } static __inline void @@ -150,7 +150,7 @@ timeval2bintime(struct timeval *tv, struct bintime *bt) { bt->sec = tv->tv_sec; - bt->frac = tv->tv_usec * 18446744073709; /* int(2^64 / 1000000) */ + bt->frac = tv->tv_usec * 18446744073709ULL; /* int(2^64 / 1000000) */ } /* end of struct bintime stuff */ |