Module Name: src
Committed By: phx
Date: Thu Nov 26 18:23:48 UTC 2009
Modified Files:
src/sys/arch/amiga/amiga: amiga_init.c
Log Message:
Cast vstart to (struct user *) when assigning it to lwp0.l_addr.
To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/sys/arch/amiga/amiga/amiga_init.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/amiga/amiga/amiga_init.c
diff -u src/sys/arch/amiga/amiga/amiga_init.c:1.112 src/sys/arch/amiga/amiga/amiga_init.c:1.113
--- src/sys/arch/amiga/amiga/amiga_init.c:1.112 Thu Nov 26 00:19:12 2009
+++ src/sys/arch/amiga/amiga/amiga_init.c Thu Nov 26 18:23:48 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: amiga_init.c,v 1.112 2009/11/26 00:19:12 matt Exp $ */
+/* $NetBSD: amiga_init.c,v 1.113 2009/11/26 18:23:48 phx Exp $ */
/*
* Copyright (c) 1994 Michael L. Hitch
@@ -36,7 +36,7 @@
#include "opt_devreload.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amiga_init.c,v 1.112 2009/11/26 00:19:12 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amiga_init.c,v 1.113 2009/11/26 18:23:48 phx Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -353,7 +353,7 @@
/*
* save KVA of lwp0 u-area and allocate it.
*/
- RELOC(lwp0.l_addr, struct user *) = vstart;
+ RELOC(lwp0.l_addr, struct user *) = (struct user *)vstart;
pstart += USPACE;
vstart += USPACE;
avail -= USPACE;