Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys use ULL so this doesn't break on 32bit builds... sorry



details:   https://anonhg.NetBSD.org/src/rev/dab7fb5745ac
branches:  trunk
changeset: 820979:dab7fb5745ac
user:      maya <maya%NetBSD.org@localhost>
date:      Tue Jan 17 15:28:34 2017 +0000

description:
use ULL so this doesn't break on 32bit builds... sorry

diffstat:

 sys/sys/time.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 571aa8485063 -r dab7fb5745ac sys/sys/time.h
--- a/sys/sys/time.h    Tue Jan 17 13:13:07 2017 +0000
+++ b/sys/sys/time.h    Tue Jan 17 15:28:34 2017 +0000
@@ -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 @@
 
        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



Home | Main Index | Thread Index | Old Index