Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/arch/sparc/gen void cast



details:   https://anonhg.NetBSD.org/src/rev/8783e53f7066
branches:  trunk
changeset: 778262:8783e53f7066
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Mar 21 00:34:04 2012 +0000

description:
void cast

diffstat:

 lib/libc/arch/sparc/gen/_lwp.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 843d59ac231a -r 8783e53f7066 lib/libc/arch/sparc/gen/_lwp.c
--- a/lib/libc/arch/sparc/gen/_lwp.c    Wed Mar 21 00:29:39 2012 +0000
+++ b/lib/libc/arch/sparc/gen/_lwp.c    Wed Mar 21 00:34:04 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: _lwp.c,v 1.6 2011/02/24 04:28:43 joerg Exp $   */
+/*     $NetBSD: _lwp.c,v 1.7 2012/03/21 00:34:04 christos Exp $        */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: _lwp.c,v 1.6 2011/02/24 04:28:43 joerg Exp $");
+__RCSID("$NetBSD: _lwp.c,v 1.7 2012/03/21 00:34:04 christos Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include "namespace.h"
@@ -53,7 +53,7 @@
        u->uc_stack.ss_size = stack_size;
 
 
-       sp = (ulong *)(stack_base + stack_size);
+       sp = (void *)(stack_base + stack_size);
        sp = (ulong *)((ulong)sp & ~0x07);
 
        /* Make room for the fake caller stack frame (CCFSZ, only in words) */



Home | Main Index | Thread Index | Old Index