mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user