From a060acb15402ad7f1309e0c3c3c0b4bffe01270e Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Fri, 8 Feb 2002 03:55:37 +0000 Subject: [PATCH] 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 --- sys/sys/time.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sys/time.h b/sys/sys/time.h index 396b62612a2c..7347ffc41731 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 */