Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/m68k/gen fix lint



details:   https://anonhg.NetBSD.org/src/rev/2190ba562531
branches:  trunk
changeset: 778182:2190ba562531
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Mar 18 16:26:34 2012 +0000

description:
fix lint

diffstat:

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

diffs (27 lines):

diff -r 53b5ca0b9492 -r 2190ba562531 lib/libc/arch/m68k/gen/_lwp.c
--- a/lib/libc/arch/m68k/gen/_lwp.c     Sun Mar 18 16:20:49 2012 +0000
+++ b/lib/libc/arch/m68k/gen/_lwp.c     Sun Mar 18 16:26:34 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: _lwp.c,v 1.7 2011/11/22 15:25:28 joerg Exp $   */
+/*     $NetBSD: _lwp.c,v 1.8 2012/03/18 16:26:34 christos Exp $        */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: _lwp.c,v 1.7 2011/11/22 15:25:28 joerg Exp $");
+__RCSID("$NetBSD: _lwp.c,v 1.8 2012/03/18 16:26:34 christos Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include "namespace.h"
@@ -55,7 +55,7 @@
 
        u->uc_mcontext.__gregs[_REG_PC] = (int)start;
        
-       sp = (void **) (stack_base + stack_size);
+       sp = (void **)(void *)(stack_base + stack_size);
        
        *--sp = arg;
        *--sp = (void *) _lwp_exit;



Home | Main Index | Thread Index | Old Index