Cast through (void *) to appease gcc3. (now it's also warned on mipseb)
This commit is contained in:
parent
21110867b5
commit
bf9fad7ca4
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: machdep.c,v 1.72 2003/10/25 04:07:28 tsutsui Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.73 2003/10/26 14:52:52 tsutsui Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -76,7 +76,7 @@
|
|||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.72 2003/10/25 04:07:28 tsutsui Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.73 2003/10/26 14:52:52 tsutsui Exp $");
|
||||
|
||||
/* from: Utah Hdr: machdep.c 1.63 91/04/24 */
|
||||
|
||||
|
@ -512,7 +512,7 @@ cpu_startup()
|
|||
* 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)
|
||||
|
|
Loading…
Reference in New Issue