Module Name: src Committed By: christos Date: Sun Mar 21 14:28:15 UTC 2010
Modified Files: src/sys/sys: bitops.h Log Message: revert previous for now. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/sys/bitops.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/bitops.h diff -u src/sys/sys/bitops.h:1.6 src/sys/sys/bitops.h:1.7 --- src/sys/sys/bitops.h:1.6 Sat Mar 20 20:04:34 2010 +++ src/sys/sys/bitops.h Sun Mar 21 10:28:15 2010 @@ -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; }