diff --git a/sys/arch/sparc64/sparc64/netbsd32_machdep.c b/sys/arch/sparc64/sparc64/netbsd32_machdep.c index 1dcba8f0856b..c44ec3d5435a 100644 --- a/sys/arch/sparc64/sparc64/netbsd32_machdep.c +++ b/sys/arch/sparc64/sparc64/netbsd32_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: netbsd32_machdep.c,v 1.59 2006/03/29 23:07:49 cube Exp $ */ +/* $NetBSD: netbsd32_machdep.c,v 1.60 2006/05/11 17:15:54 mrg Exp $ */ /* * Copyright (c) 1998, 2001 Matthew R. Green @@ -29,7 +29,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.59 2006/03/29 23:07:49 cube Exp $"); +__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.60 2006/05/11 17:15:54 mrg Exp $"); #ifdef _KERNEL_OPT #include "opt_compat_netbsd.h" @@ -523,7 +523,7 @@ compat_13_netbsd32_sigreturn(l, v, retval) p->p_sigctx.ps_sigstk.ss_flags &= ~SS_ONSTACK; /* Restore signal mask */ - native_sigset13_to_sigset(&scp->sc_mask, &mask); + native_sigset13_to_sigset((sigset13_t *)&scp->sc_mask, &mask); (void) sigprocmask1(p, SIG_SETMASK, &mask, 0); return (EJUSTRETURN);