aboutsummaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-25 01:26:30 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-25 01:26:30 +0000
commit2a068d20fbe9e59b9c43dbeb9fa54999bdb19e10 (patch)
treee4c33d64a53d79197df9f3799d7d39886728744f /stdlib
parent9c0592ab3b82691480fff3732239d5892d367df9 (diff)
downloadglibc-2a068d20fbe9e59b9c43dbeb9fa54999bdb19e10.zip
glibc-2a068d20fbe9e59b9c43dbeb9fa54999bdb19e10.tar.gz
glibc-2a068d20fbe9e59b9c43dbeb9fa54999bdb19e10.tar.bz2
Update.
* locale/findlocale.c: Add casts to avoid warnings. * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings. * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast to avoid warnings. * misc/tsearch.c (const_node): New type. (trecurse): Correct casts to avoid warnings. (__twalk): Likewise. * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and LONG_BIT. * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/tst-limits.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/tst-limits.c b/stdlib/tst-limits.c
index b6a7f16..d7ca3ef 100644
--- a/stdlib/tst-limits.c
+++ b/stdlib/tst-limits.c
@@ -62,8 +62,8 @@ main (void)
TEST (PAGE_SIZE, "d", getpagesize ());
#endif
- TEST (WORD_BIT, "d", sizeof (int) * CHAR_BIT);
- TEST (LONG_BIT, "d", sizeof (long int) * CHAR_BIT);
+ TEST (WORD_BIT, "zd", sizeof (int) * CHAR_BIT);
+ TEST (LONG_BIT, "zd", sizeof (long int) * CHAR_BIT);
return result;
}