Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun3/sun3 fix build. (hi rmind)



details:   https://anonhg.NetBSD.org/src/rev/0e037e59ae2a
branches:  trunk
changeset: 749426:0e037e59ae2a
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Nov 29 15:06:40 2009 +0000

description:
fix build. (hi rmind)

diffstat:

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

diffs (27 lines):

diff -r 79b7d9d77777 -r 0e037e59ae2a sys/arch/sun3/sun3/locore2.c
--- a/sys/arch/sun3/sun3/locore2.c      Sun Nov 29 13:51:33 2009 +0000
+++ b/sys/arch/sun3/sun3/locore2.c      Sun Nov 29 15:06:40 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore2.c,v 1.96 2009/11/27 03:23:14 rmind Exp $       */
+/*     $NetBSD: locore2.c,v 1.97 2009/11/29 15:06:40 pooka Exp $       */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: locore2.c,v 1.96 2009/11/27 03:23:14 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: locore2.c,v 1.97 2009/11/29 15:06:40 pooka Exp $");
 
 #include "opt_ddb.h"
 #include "opt_modular.h"
@@ -202,7 +202,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