From a07ab709de150e356427d6c4332c78e61501e974 Mon Sep 17 00:00:00 2001 From: mrg Date: Thu, 11 May 2006 01:00:43 +0000 Subject: [PATCH] cast to (lwpid_t *) where appropriate. --- sys/compat/svr4/svr4_lwp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/compat/svr4/svr4_lwp.c b/sys/compat/svr4/svr4_lwp.c index e52fa1b06a31..bcc183d7d866 100644 --- a/sys/compat/svr4/svr4_lwp.c +++ b/sys/compat/svr4/svr4_lwp.c @@ -1,4 +1,4 @@ -/* $NetBSD: svr4_lwp.c,v 1.10 2005/12/11 12:20:26 christos Exp $ */ +/* $NetBSD: svr4_lwp.c,v 1.11 2006/05/11 01:00:43 mrg Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: svr4_lwp.c,v 1.10 2005/12/11 12:20:26 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: svr4_lwp.c,v 1.11 2006/05/11 01:00:43 mrg Exp $"); #include #include @@ -102,7 +102,7 @@ svr4_sys__lwp_create(l, v, retval) /* XXX At the moment, svr4_ucontext_t and ucontext_t are the same */ SCARG(&lc, ucp) = (ucontext_t *)SCARG(uap, uc); SCARG(&lc, flags) = flags; - SCARG(&lc, new_lwp) = SCARG(uap, lwpid); + SCARG(&lc, new_lwp) = (lwpid_t *)SCARG(uap, lwpid); return sys__lwp_create(l, &lc, retval); @@ -163,7 +163,7 @@ svr4_sys__lwp_wait(l, v, retval) struct sys__lwp_wait_args ap; SCARG(&ap, wait_for) = SCARG(uap, wait_for); - SCARG(&ap, departed) = SCARG(uap, departed_lwp); + SCARG(&ap, departed) = (lwpid_t *)SCARG(uap, departed_lwp); return sys__lwp_wait(l, &ap, retval); }