Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/mips/gen make constant explicitly unsigned
details: https://anonhg.NetBSD.org/src/rev/f673869965ee
branches: trunk
changeset: 778498:f673869965ee
user: christos <christos%NetBSD.org@localhost>
date: Thu Mar 29 19:27:05 2012 +0000
description:
make constant explicitly unsigned
diffstat:
lib/libc/arch/mips/gen/longjmp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 3aef3a6017ff -r f673869965ee lib/libc/arch/mips/gen/longjmp.c
--- a/lib/libc/arch/mips/gen/longjmp.c Thu Mar 29 19:26:21 2012 +0000
+++ b/lib/libc/arch/mips/gen/longjmp.c Thu Mar 29 19:27:05 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: longjmp.c,v 1.4 2010/09/03 17:22:51 matt Exp $ */
+/* $NetBSD: longjmp.c,v 1.5 2012/03/29 19:27:05 christos Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -49,7 +49,7 @@
ucontext_t uc;
/* Ensure non-zero SP and sigcontext magic number is present */
- if (sc->sc_regs[_R_SP] == 0 || sc->sc_regs[_R_ZERO] != (mips_reg_t)0xACEDBADE)
+ if (sc->sc_regs[_R_SP] == 0 || sc->sc_regs[_R_ZERO] != (mips_reg_t)0xACEDBADEU)
goto err;
/* Ensure non-zero return value */
Home |
Main Index |
Thread Index |
Old Index