Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sun3/sun3x Cast a vaddr_t to void* before passing t...
details: https://anonhg.NetBSD.org/src/rev/a1cae8dad6d2
branches: trunk
changeset: 749475:a1cae8dad6d2
user: he <he%NetBSD.org@localhost>
date: Mon Nov 30 16:09:14 2009 +0000
description:
Cast a vaddr_t to void* before passing to memset, so that this builds again.
diffstat:
sys/arch/sun3/sun3x/locore2.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 363fce31b104 -r a1cae8dad6d2 sys/arch/sun3/sun3x/locore2.c
--- a/sys/arch/sun3/sun3x/locore2.c Mon Nov 30 15:37:56 2009 +0000
+++ b/sys/arch/sun3/sun3x/locore2.c Mon Nov 30 16:09:14 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore2.c,v 1.37 2009/11/27 03:23:14 rmind Exp $ */
+/* $NetBSD: locore2.c,v 1.38 2009/11/30 16:09:14 he Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: locore2.c,v 1.37 2009/11/27 03:23:14 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: locore2.c,v 1.38 2009/11/30 16:09:14 he Exp $");
#include "opt_ddb.h"
@@ -168,7 +168,7 @@
* (The fault handler may reference lwp0 stuff.)
*/
uvm_lwp_setuarea(&lwp0, nextva);
- memset(nextva, 0, USPACE);
+ memset((void *)nextva, 0, USPACE);
nextva += USPACE;
Home |
Main Index |
Thread Index |
Old Index