From 595538976b5d13ea0bcff73e05a9b6fd6cddaee5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 20 Nov 2000 17:40:29 +0000 Subject: Update. 2000-11-20 Jakub Jelinek * iconvdata/bug-iconv2.c (main): Use %zd in format string. * io/test-lfs.c (do_test): Cast statbuf.st_size to long long. * malloc/tst-valloc.c (main): Cast valloc return value to long. * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string. * math/test-fpucw.c (main): Use %lx in format string, cast control words to long. * stdio-common/tst-fmemopen.c (main): Use %td in format strings. * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so large that it is unsigned warning. * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing it to long on sparc64. 2000-11-20 Andreas Jaeger * nscd/nscd.h (termination_handler): Add noreturn attribute. (receiv_print_stats): Likewise. * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison. --- stdlib/tst-strtol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stdlib/tst-strtol.c') diff --git a/stdlib/tst-strtol.c b/stdlib/tst-strtol.c index d4ab95e1db..ae8fdd4905 100644 --- a/stdlib/tst-strtol.c +++ b/stdlib/tst-strtol.c @@ -70,8 +70,8 @@ static const struct ltest tests[] = {"922337203685477580777", 9223372036854775807, 0, 0, ERANGE}, {"9223372036854775810", 9223372036854775807, 0, 0, ERANGE}, {"-2147483648", -2147483648, 0, 0, 0}, - {"-9223372036854775808", -9223372036854775808, 0, 0, 0}, - {"-9223372036854775809", -9223372036854775808, 0, 0, ERANGE}, + {"-9223372036854775808", 0x8000000000000000, 0, 0, 0}, + {"-9223372036854775809", 0x8000000000000000, 0, 0, ERANGE}, {"0x112233445566778899z", 9223372036854775807, 16, 'z', ERANGE}, {"0xFFFFFFFFFFFF00FF" , 9223372036854775807, 0, 0, ERANGE}, #endif -- cgit v1.2.3