1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00
* 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:
Ulrich Drepper
2000-11-25 01:26:30 +00:00
parent 9c0592ab3b
commit 2a068d20fb
8 changed files with 137 additions and 121 deletions

View File

@@ -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;
}