* regex_internal.h (bitset_not): Add parens to avoid gcc -Wall warning.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 6 Sep 2005 17:50:47 +0000 (17:50 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 6 Sep 2005 17:50:47 +0000 (17:50 +0000)
lib/ChangeLog
lib/regex_internal.h

index f5048ee..1312203 100644 (file)
@@ -1,3 +1,7 @@
+2005-09-06  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * regex_internal.h (bitset_not): Add parens to avoid gcc -Wall warning.
+
 2005-09-06  Simon Josefsson  <jas@extundo.com>
 
        * getpass.c (getpass): Fix typo, test for HAVE_TCSETATTR and not
index fe37c0b..0208759 100644 (file)
@@ -833,7 +833,7 @@ bitset_not (bitset set)
     set[i] = ~set[i];
   if (SBC_MAX % BITSET_WORD_BITS != 0)
     set[BITSET_WORDS - 1] =
-      (((bitset_word) 1 << SBC_MAX % BITSET_WORD_BITS) - 1
+      ((((bitset_word) 1 << SBC_MAX % BITSET_WORD_BITS) - 1)
        & ~set[BITSET_WORDS - 1]);
 }