Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sgimips/sgimips Cast through (void *) to appease gcc3.



details:   https://anonhg.NetBSD.org/src/rev/538854655165
branches:  trunk
changeset: 552617:538854655165
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Sep 28 13:02:18 2003 +0000

description:
Cast through (void *) to appease gcc3.

diffstat:

 sys/arch/sgimips/sgimips/machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r de9d7350e433 -r 538854655165 sys/arch/sgimips/sgimips/machdep.c
--- a/sys/arch/sgimips/sgimips/machdep.c        Sun Sep 28 12:56:09 2003 +0000
+++ b/sys/arch/sgimips/sgimips/machdep.c        Sun Sep 28 13:02:18 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.56 2003/09/15 06:39:22 simonb Exp $      */
+/*     $NetBSD: machdep.c,v 1.57 2003/09/28 13:02:18 tsutsui Exp $     */
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.56 2003/09/15 06:39:22 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.57 2003/09/28 13:02:18 tsutsui Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -620,7 +620,7 @@
         * and usually occupy more virtual memory than physical.
         */
        size = MAXBSIZE * nbuf;
-       if (uvm_map(kernel_map, (vaddr_t *)&buffers, round_page(size),
+       if (uvm_map(kernel_map, (vaddr_t *)(void *)&buffers, round_page(size),
                    NULL, UVM_UNKNOWN_OFFSET, 0,
                    UVM_MAPFLAG(UVM_PROT_NONE, UVM_PROT_NONE, UVM_INH_NONE,
                    UVM_ADV_NORMAL, 0)) != 0)



Home | Main Index | Thread Index | Old Index