From 4848f3cb38dce4fcdded4a85c0cfed8b3a7b0a1b Mon Sep 17 00:00:00 2001 From: phx Date: Thu, 26 Nov 2009 18:23:48 +0000 Subject: [PATCH] Cast vstart to (struct user *) when assigning it to lwp0.l_addr. --- sys/arch/amiga/amiga/amiga_init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/amiga/amiga/amiga_init.c b/sys/arch/amiga/amiga/amiga_init.c index 0da7696eadb2..2569a2edee72 100644 --- a/sys/arch/amiga/amiga/amiga_init.c +++ b/sys/arch/amiga/amiga/amiga_init.c @@ -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 -__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 #include @@ -353,7 +353,7 @@ start_c(id, fphystart, fphysize, cphysize, esym_addr, flags, inh_sync, /* * 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;