projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
685c308
)
(_ISwbit): Protext use of parameter with parentheses.
author
Ulrich Drepper
<drepper@redhat.com>
Sat, 5 Dec 1998 20:32:18 +0000
(20:32 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Sat, 5 Dec 1998 20:32:18 +0000
(20:32 +0000)
wctype/wctype.h
patch
|
blob
|
history
diff --git
a/wctype/wctype.h
b/wctype/wctype.h
index
43ff8e4
..
7102758
100644
(file)
--- 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