From 4781309ddc9957917646cf0bb8356058692221a9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 5 Dec 1998 20:32:18 +0000 Subject: [PATCH] (_ISwbit): Protext use of parameter with parentheses. --- wctype/wctype.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wctype/wctype.h b/wctype/wctype.h index 43ff8e4..7102758 100644 --- a/wctype/wctype.h +++ b/wctype/wctype.h @@ -67,9 +67,9 @@ typedef unsigned long int wctype_t; # include # 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 -- 2.7.4