Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/rasops Remove pointless cast; dp is already uint32_t *.
details: https://anonhg.NetBSD.org/src/rev/8289a0ea06f9
branches: trunk
changeset: 973460:8289a0ea06f9
user: rin <rin%NetBSD.org@localhost>
date: Thu Jul 02 07:49:44 2020 +0000
description:
Remove pointless cast; dp is already uint32_t *.
No functional changes intended.
diffstat:
sys/dev/rasops/rasops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r de15c991f139 -r 8289a0ea06f9 sys/dev/rasops/rasops.c
--- a/sys/dev/rasops/rasops.c Wed Jul 01 23:37:10 2020 +0000
+++ b/sys/dev/rasops/rasops.c Thu Jul 02 07:49:44 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rasops.c,v 1.122 2019/08/10 01:24:17 rin Exp $ */
+/* $NetBSD: rasops.c,v 1.123 2020/07/02 07:49:44 rin Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rasops.c,v 1.122 2019/08/10 01:24:17 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rasops.c,v 1.123 2020/07/02 07:49:44 rin Exp $");
#ifdef _KERNEL_OPT
#include "opt_rasops.h"
@@ -1119,7 +1119,7 @@
}
for (cnt = full; cnt; cnt--) {
- *dp = ~*(uint32_t *)dp;
+ *dp = ~*dp;
dp++;
}
Home |
Main Index |
Thread Index |
Old Index