From 2d6aa8909bea99f896e77c9848b9007c42bc43d3 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Mon, 26 Feb 1996 21:24:52 +0000 Subject: From NetBSD: cast to arg to caddr_t (fixes #2114) --- sys/arch/amiga/amiga/amiga_init.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/arch/amiga') diff --git a/sys/arch/amiga/amiga/amiga_init.c b/sys/arch/amiga/amiga/amiga_init.c index 04437423fa3..4a8c6b48e69 100644 --- a/sys/arch/amiga/amiga/amiga_init.c +++ b/sys/arch/amiga/amiga/amiga_init.c @@ -1,4 +1,5 @@ -/* $NetBSD: amiga_init.c,v 1.33.2.2 1995/11/24 07:51:07 chopps Exp $ */ +/* $OpenBSD: amiga_init.c,v 1.5 1996/02/26 21:24:51 niklas Exp $ */ +/* $NetBSD: amiga_init.c,v 1.35 1996/02/24 07:43:14 chopps Exp $ */ /* * Copyright (c) 1994 Michael L. Hitch @@ -717,7 +718,8 @@ kernel_reload_write(uio) /* * Pull in the exec header and check it. */ - if (error = uiomove(&kernel_exec, sizeof(kernel_exec), uio)) + if (error = uiomove((caddr_t)&kernel_exec, sizeof(kernel_exec), + uio)) return(error); printf("loading kernel %d+%d+%d+%d\n", kernel_exec.a_text, kernel_exec.a_data, kernel_exec.a_bss, -- cgit v1.2.3