Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/dev Remove an unneeded cast to appease gcc -W...



details:   https://anonhg.NetBSD.org/src/rev/ca96b9120108
branches:  trunk
changeset: 581723:ca96b9120108
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Jun 04 04:39:34 2005 +0000

description:
Remove an unneeded cast to appease gcc -Wcast-qual.

diffstat:

 sys/arch/sparc/dev/cgsix_obio.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ccd71bb08c5f -r ca96b9120108 sys/arch/sparc/dev/cgsix_obio.c
--- a/sys/arch/sparc/dev/cgsix_obio.c   Sat Jun 04 04:37:21 2005 +0000
+++ b/sys/arch/sparc/dev/cgsix_obio.c   Sat Jun 04 04:39:34 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cgsix_obio.c,v 1.14 2003/07/15 00:04:53 lukem Exp $ */
+/*     $NetBSD: cgsix_obio.c,v 1.15 2005/06/04 04:39:34 tsutsui Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgsix_obio.c,v 1.14 2003/07/15 00:04:53 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgsix_obio.c,v 1.15 2005/06/04 04:39:34 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -198,7 +198,7 @@
        sc->sc_fbc = (struct cg6_fbc *)bh;
 
 
-       if (fb_pfour_id((void *)sc->sc_fhc) == PFOUR_ID_FASTCOLOR) {
+       if (fb_pfour_id(sc->sc_fhc) == PFOUR_ID_FASTCOLOR) {
                fb->fb_flags |= FB_PFOUR;
                name = "cgsix/p4";
        } else



Home | Main Index | Thread Index | Old Index