From 957641947b04748dff84428e01130d35fdba088b Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 12 Feb 1997 14:57:02 +0000 Subject: [PATCH] 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; -- 2.20.1