mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 00:10:10 +00:00
Update.
1999-02-16 Ulrich Drepper <drepper@cygnus.com> * wctype/wctype.h (_ISwbit): Cast result of shift operations to int to avoid warning about `ISO C restricts enumerator values to range of `int''.
This commit is contained in:
parent
3f80a33b99
commit
ff8273391c
@ -1,3 +1,9 @@
|
||||
1999-02-16 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* wctype/wctype.h (_ISwbit): Cast result of shift operations to
|
||||
int to avoid warning about `ISO C restricts enumerator values to
|
||||
range of `int''.
|
||||
|
||||
1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
|
||||
|
||||
* elf/dlfcn.h: Fix typo.
|
||||
|
@ -69,7 +69,8 @@ typedef unsigned long int wctype_t;
|
||||
# if __BYTE_ORDER == __BIG_ENDIAN
|
||||
# define _ISwbit(bit) (1 << (bit))
|
||||
# else /* __BYTE_ORDER == __LITTLE_ENDIAN */
|
||||
# define _ISwbit(bit) ((bit) < 8 ? 1UL << (bit) << 24 : 1UL << ((bit) + 8))
|
||||
# define _ISwbit(bit) \
|
||||
((bit) < 8 ? (int) (1UL << (bit) << 24) : (int) (1UL << ((bit) + 8)))
|
||||
# endif
|
||||
|
||||
enum
|
||||
|
Loading…
Reference in New Issue
Block a user