diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-02-26 21:24:52 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-02-26 21:24:52 +0000 |
commit | 2d6aa8909bea99f896e77c9848b9007c42bc43d3 (patch) | |
tree | 7d775448bd00082e7d5b69768f41cee5ef89cc94 /sys/arch/amiga | |
parent | 9c4f61d4dd58ee47e14e5f9c8f73bf40fae508f0 (diff) |
From NetBSD: cast to arg to caddr_t (fixes #2114)
Diffstat (limited to 'sys/arch/amiga')
-rw-r--r-- | sys/arch/amiga/amiga/amiga_init.c | 6 |
1 files changed, 4 insertions, 2 deletions
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, |