Source-Changes-HG archive

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

[src/nathanw_sa]: src/lib/libc/arch/sparc64/gen Compiler warnings.



details:   https://anonhg.NetBSD.org/src/rev/5b1d2d5647bd
branches:  nathanw_sa
changeset: 506223:5b1d2d5647bd
user:      petrov <petrov%NetBSD.org@localhost>
date:      Tue Sep 10 01:04:32 2002 +0000

description:
Compiler warnings.

diffstat:

 lib/libc/arch/sparc64/gen/_lwp.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 36d6a8e026b0 -r 5b1d2d5647bd lib/libc/arch/sparc64/gen/_lwp.c
--- a/lib/libc/arch/sparc64/gen/_lwp.c  Fri Sep 06 20:41:46 2002 +0000
+++ b/lib/libc/arch/sparc64/gen/_lwp.c  Tue Sep 10 01:04:32 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: _lwp.c,v 1.1.2.1 2002/01/24 02:35:31 petrov Exp $ */
+/*     $NetBSD: _lwp.c,v 1.1.2.2 2002/09/10 01:04:32 petrov Exp $ */
 
 #include <sys/types.h>
 #include <ucontext.h>
@@ -28,7 +28,7 @@
 
        sp[8]  = (ulong) arg;
        sp[14] = (ulong)((caddr_t)sp - 2047);
-       sp[15] = (ulong)(_lwp_exit - 8);
+       sp[15] = (ulong)((caddr_t)_lwp_exit - 8);
 
        sp = (ulong *)((caddr_t)sp - 2047);
 



Home | Main Index | Thread Index | Old Index