Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/rasops Correct copy count. This affects ``left-to-ri...
details: https://anonhg.NetBSD.org/src/rev/fde7818142ad
branches: trunk
changeset: 458593:fde7818142ad
user: rin <rin%NetBSD.org@localhost>
date: Fri Aug 02 04:31:54 2019 +0000
description:
Correct copy count. This affects ``left-to-right'' copy for region
including word boundary.
diffstat:
sys/dev/rasops/rasops_bitops.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 434bfa602e55 -r fde7818142ad sys/dev/rasops/rasops_bitops.h
--- a/sys/dev/rasops/rasops_bitops.h Fri Aug 02 04:26:44 2019 +0000
+++ b/sys/dev/rasops/rasops_bitops.h Fri Aug 02 04:31:54 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rasops_bitops.h,v 1.20 2019/08/02 04:26:44 rin Exp $ */
+/* $NetBSD: rasops_bitops.h,v 1.21 2019/08/02 04:31:54 rin Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -270,7 +270,7 @@
rnum = (dst + num) & 31;
if (lmask)
- full = (num - (32 - (dst & 31))) >> 5;
+ full = (num - lnum) >> 5;
else
full = num >> 5;
Home |
Main Index |
Thread Index |
Old Index