From 2a068d20fbe9e59b9c43dbeb9fa54999bdb19e10 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 25 Nov 2000 01:26:30 +0000 Subject: 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. --- debug/backtrace-tst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debug') diff --git a/debug/backtrace-tst.c b/debug/backtrace-tst.c index d899fb009f..ce80685bf8 100644 --- a/debug/backtrace-tst.c +++ b/debug/backtrace-tst.c @@ -22,7 +22,7 @@ compare (const void *p1, const void *p2) } } - return *(uint32_t *) p1 - *(uint32_t *) p2; + return *(const uint32_t *) p1 - *(const uint32_t *) p2; } -- cgit v1.2.3