summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-02-12 14:57:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-02-12 14:57:03 +0000
commit5c3e1749315892ec81d435d81cdf3cfd83f15814 (patch)
tree76af475f74a14a1137b8f99ca9e53208159f341c /sys/arch/alpha
parente188fd595afdc378adf11d7939307d5b04bc82df (diff)
fix typecast; janjaap@stack.nl
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/alpha/trap.c4
1 files 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;