Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/stdlib Fix sign.



details:   https://anonhg.NetBSD.org/src/rev/6f9a4f958598
branches:  trunk
changeset: 793946:6f9a4f958598
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Mar 01 22:38:13 2014 +0000

description:
Fix sign.

diffstat:

 tests/lib/libc/stdlib/t_abs.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8f9b914c368b -r 6f9a4f958598 tests/lib/libc/stdlib/t_abs.c
--- a/tests/lib/libc/stdlib/t_abs.c     Sat Mar 01 21:08:39 2014 +0000
+++ b/tests/lib/libc/stdlib/t_abs.c     Sat Mar 01 22:38:13 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_abs.c,v 1.2 2014/02/27 17:25:28 joerg Exp $ */
+/* $NetBSD: t_abs.c,v 1.3 2014/03/01 22:38:13 joerg Exp $ */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_abs.c,v 1.2 2014/02/27 17:25:28 joerg Exp $");
+__RCSID("$NetBSD: t_abs.c,v 1.3 2014/03/01 22:38:13 joerg Exp $");
 
 #include <atf-c.h>
 #include <inttypes.h>
@@ -106,7 +106,7 @@
                { LONG_MAX,     LONG_MAX        },
                { -LONG_MAX,    LONG_MAX        },
                { INT_MAX,      INT_MAX         },
-               { -INT_MAX,     -INT_MAX        },
+               { -INT_MAX,     INT_MAX         },
        };
 
        for (size_t i = 0; i < __arraycount(table); i++)



Home | Main Index | Thread Index | Old Index