From: deraadt Date: Wed, 12 Feb 1997 14:57:02 +0000 (+0000) Subject: fix typecast; janjaap@stack.nl X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=957641947b04748dff84428e01130d35fdba088b;p=openbsd fix typecast; janjaap@stack.nl --- diff --git a/sys/arch/alpha/alpha/trap.c b/sys/arch/alpha/alpha/trap.c index 438628abf0f..180a1f39d82 100644 --- a/sys/arch/alpha/alpha/trap.c +++ b/sys/arch/alpha/alpha/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.10 1997/02/09 14:18:42 deraadt Exp $ */ +/* $OpenBSD: trap.c,v 1.11 1997/02/12 14:57:02 deraadt Exp $ */ /* $NetBSD: trap.c,v 1.19 1996/11/27 01:28:30 cgd Exp $ */ /* @@ -408,7 +408,7 @@ panic("foo"); } goto dopanic; } - v = a0; + v = (caddr_t)a0; ucode = ftype; i = SIGSEGV; typ = SEGV_MAPERR;