mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +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:
@ -1,5 +1,10 @@
|
|||||||
Mon Mar 13 01:48:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
|
Mon Mar 13 01:48:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
Support building several flavors of objects and libraries.
|
Support building several flavors of objects and libraries.
|
||||||
* Makerules (libtypes, object-suffixes): New variables.
|
* Makerules (libtypes, object-suffixes): New variables.
|
||||||
(libtype.*, CFLAGS-*, CPPFLAGS-*): New variables for each object
|
(libtype.*, CFLAGS-*, CPPFLAGS-*): New variables for each object
|
||||||
|
@ -929,7 +929,7 @@ guess_grouping (unsigned int intdig_max, const char *grouping, wchar_t sepchar)
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
groups = 0;
|
groups = 0;
|
||||||
while (intdig_max > *grouping)
|
while (intdig_max > (unsigned int) *grouping)
|
||||||
{
|
{
|
||||||
++groups;
|
++groups;
|
||||||
intdig_max -= *grouping++;
|
intdig_max -= *grouping++;
|
||||||
@ -981,7 +981,7 @@ group_number (char *buf, char *bufend, unsigned int intdig_no,
|
|||||||
else if (*grouping == 0)
|
else if (*grouping == 0)
|
||||||
/* Same grouping repeats. */
|
/* Same grouping repeats. */
|
||||||
--grouping;
|
--grouping;
|
||||||
} while (intdig_no > *grouping);
|
} while (intdig_no > (unsigned int) *grouping);
|
||||||
|
|
||||||
/* Copy the remaining ungrouped digits. */
|
/* Copy the remaining ungrouped digits. */
|
||||||
do
|
do
|
||||||
|
@ -57,7 +57,7 @@ typedef unsigned long int __sigset_t;
|
|||||||
_EXTERN_INLINE int \
|
_EXTERN_INLINE int \
|
||||||
__##NAME (CONST __sigset_t *__set, int __sig) \
|
__##NAME (CONST __sigset_t *__set, int __sig) \
|
||||||
{ \
|
{ \
|
||||||
if (__sig < 1 || __sig > sizeof (__sigset_t) * 8) \
|
if (__sig < 1 || __sig > (int) sizeof (__sigset_t) * 8) \
|
||||||
{ \
|
{ \
|
||||||
extern int raise (int); \
|
extern int raise (int); \
|
||||||
return raise (-1); \
|
return raise (-1); \
|
||||||
|
Reference in New Issue
Block a user