summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2007-03-05 14:13:10 +0000
committerchristos <christos@NetBSD.org>2007-03-05 14:13:10 +0000
commitc74f0279eabe6bad52196bc4803dfd729849bf16 (patch)
treea03ddaa0184b9302ab1a9661445c4493cd6cf6ca /sys/compat/linux
parent1564bbc49c79ded7ff62304cc65c6772bd8c63ee (diff)
more caddr_t lossage.
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/arch/amd64/linux_machdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/linux/arch/amd64/linux_machdep.c b/sys/compat/linux/arch/amd64/linux_machdep.c
index dd849b4565b..5ae4c8c561a 100644
--- a/sys/compat/linux/arch/amd64/linux_machdep.c
+++ b/sys/compat/linux/arch/amd64/linux_machdep.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_machdep.c,v 1.19 2007/03/04 06:01:18 christos Exp $ */
+/* $NetBSD: linux_machdep.c,v 1.20 2007/03/05 14:14:15 christos Exp $ */
/*-
* Copyright (c) 2005 Emmanuel Dreyfus, all rights reserved.
@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.19 2007/03/04 06:01:18 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.20 2007/03/05 14:14:15 christos Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -141,10 +141,10 @@ linux_sendsig(ksi, mask)
/* Allocate space for the signal handler context. */
if (onstack)
- sp = ((void *)l->l_sigstk.ss_sp +
+ sp = ((char *)l->l_sigstk.ss_sp +
l->l_sigstk.ss_size);
else
- sp = (void *)tf->tf_rsp - 128;
+ sp = (char *)tf->tf_rsp - 128;
/*
* Save FPU state, if any