1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

* stdio/printf_fp.c (group_number): Cast *GROUPING to unsigned int

to avoid warning.
	* sysdeps/generic/sigset.h (__SIGSETFN): Cast result of sizeof to
 	int to avoid warning.
This commit is contained in:
Roland McGrath
1995-03-13 10:00:11 +00:00
parent 51f7530228
commit 67a3a8ac7f
3 changed files with 8 additions and 3 deletions

View File

@ -929,7 +929,7 @@ guess_grouping (unsigned int intdig_max, const char *grouping, wchar_t sepchar)
return 0;
groups = 0;
while (intdig_max > *grouping)
while (intdig_max > (unsigned int) *grouping)
{
++groups;
intdig_max -= *grouping++;
@ -981,7 +981,7 @@ group_number (char *buf, char *bufend, unsigned int intdig_no,
else if (*grouping == 0)
/* Same grouping repeats. */
--grouping;
} while (intdig_no > *grouping);
} while (intdig_no > (unsigned int) *grouping);
/* Copy the remaining ungrouped digits. */
do