From 5c3e1749315892ec81d435d81cdf3cfd83f15814 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 12 Feb 1997 14:57:03 +0000 Subject: fix typecast; janjaap@stack.nl --- sys/arch/alpha/alpha/trap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- cgit v1.2.3