Module Name: src Committed By: maya Date: Tue Jan 17 15:28:34 UTC 2017
Modified Files: src/sys/sys: time.h Log Message: use ULL so this doesn't break on 32bit builds... sorry To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79 src/sys/sys/time.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/time.h diff -u src/sys/sys/time.h:1.78 src/sys/sys/time.h:1.79 --- src/sys/sys/time.h:1.78 Tue Jan 17 13:13:07 2017 +++ src/sys/sys/time.h Tue Jan 17 15:28:34 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: time.h,v 1.78 2017/01/17 13:13:07 maya Exp $ */ +/* $NetBSD: time.h,v 1.79 2017/01/17 15:28:34 maya Exp $ */ /* * Copyright (c) 1982, 1986, 1993 @@ -194,7 +194,7 @@ bintime2timeval(const struct bintime *bt tv->tv_sec = bt->sec; tv->tv_usec = - (suseconds_t)((1000000UL * (uint32_t)(bt->frac >> 32)) >> 32); + (suseconds_t)((1000000ULL * (uint32_t)(bt->frac >> 32)) >> 32); } static __inline void