diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-12-05 20:32:18 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-12-05 20:32:18 +0000 |
commit | 4781309ddc9957917646cf0bb8356058692221a9 (patch) | |
tree | bb828262cbceaa0f6c26aa5ebba484a790a93664 | |
parent | 685c3086ea026ba41ca2c2085f64af1766104d66 (diff) | |
download | glibc-4781309ddc9957917646cf0bb8356058692221a9.tar.gz glibc-4781309ddc9957917646cf0bb8356058692221a9.tar.xz glibc-4781309ddc9957917646cf0bb8356058692221a9.zip |
(_ISwbit): Protext use of parameter with parentheses.
-rw-r--r-- | wctype/wctype.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wctype/wctype.h b/wctype/wctype.h index 43ff8e4d1a..710275888a 100644 --- a/wctype/wctype.h +++ b/wctype/wctype.h @@ -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 |