mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
(_ISwbit): Protext use of parameter with parentheses.
This commit is contained in:
parent
685c3086ea
commit
4781309ddc
@ -67,9 +67,9 @@ typedef unsigned long int wctype_t;
|
||||
|
||||
# include <endian.h>
|
||||
# if __BYTE_ORDER == __BIG_ENDIAN
|
||||
# define _ISwbit(bit) (1 << bit)
|
||||
# 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 ? 1UL << (bit) << 24 : 1UL << ((bit) + 8))
|
||||
# endif
|
||||
|
||||
enum
|
||||
|
Loading…
Reference in New Issue
Block a user