* 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 f5048ee7a67dcca7889ec577688f8ff8d9cc477d..1312203e33211be0dc27ff65e12b0768f3332f2c 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 fe37c0ba03dacdbe7e0f2d2ca42c0d2616e16a28..02087592bcc4b3d66a66cba4a3510e2184cce93c 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]);
 }