aboutsummaryrefslogtreecommitdiff
path: root/stdio-common
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-20 17:40:29 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-20 17:40:29 +0000
commit595538976b5d13ea0bcff73e05a9b6fd6cddaee5 (patch)
tree78a51f0c779b7eebb71401fa7671fae87daaf8c5 /stdio-common
parentce3019ccbbc481b87d119113a47168f03a4f55e6 (diff)
downloadglibc-595538976b5d13ea0bcff73e05a9b6fd6cddaee5.tar
glibc-595538976b5d13ea0bcff73e05a9b6fd6cddaee5.tar.gz
glibc-595538976b5d13ea0bcff73e05a9b6fd6cddaee5.tar.bz2
glibc-595538976b5d13ea0bcff73e05a9b6fd6cddaee5.zip
Update.
2000-11-20 Jakub Jelinek <jakub@redhat.com> * 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 <aj@suse.de> * nscd/nscd.h (termination_handler): Add noreturn attribute. (receiv_print_stats): Likewise. * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/tst-fmemopen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdio-common/tst-fmemopen.c b/stdio-common/tst-fmemopen.c
index f22ebd52fe..84ded4f599 100644
--- a/stdio-common/tst-fmemopen.c
+++ b/stdio-common/tst-fmemopen.c
@@ -34,7 +34,7 @@ main (void)
fputc (ch, stdout);
if (ch != *cp)
{
- printf ("\ncharacter %d: '%c' instead of '%c'\n",
+ printf ("\ncharacter %td: '%c' instead of '%c'\n",
cp - blah, ch, *cp);
exit (1);
}
@@ -79,7 +79,7 @@ main (void)
fputc (ch, stdout);
if (ch != *cp)
{
- printf ("%d character: '%c' instead of '%c'\n",
+ printf ("%td character: '%c' instead of '%c'\n",
cp - blah, ch, *cp);
exit (1);
}