Source-Changes-HG archive

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

[src/trunk]: src/sys/sys revert previous for now.



details:   https://anonhg.NetBSD.org/src/rev/29f651aaf0cc
branches:  trunk
changeset: 753246:29f651aaf0cc
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Mar 21 14:28:15 2010 +0000

description:
revert previous for now.

diffstat:

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

diffs (18 lines):

diff -r 27f2379b5843 -r 29f651aaf0cc sys/sys/bitops.h
--- a/sys/sys/bitops.h  Sun Mar 21 13:39:51 2010 +0000
+++ b/sys/sys/bitops.h  Sun Mar 21 14:28:15 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bitops.h,v 1.6 2010/03/21 00:04:34 christos Exp $      */
+/*     $NetBSD: bitops.h,v 1.7 2010/03/21 14:28:15 christos Exp $      */
 
 /*-
  * Copyright (c) 2007, 2010 The NetBSD Foundation, Inc.
@@ -279,7 +279,7 @@
 {
        uint32_t _t;
 
-       _t = ((uint64_t)_v * _m) >> 32;
+       _t = (uint32_t)(((uint64_t)_v * _m) >> 32);
        return (_t + ((_v - _t) >> _s1)) >> _s2;
 }
 



Home | Main Index | Thread Index | Old Index