changeset 6216:f2f9686c2087

* regex_internal.h (bitset_not): Add parens to avoid gcc -Wall warning.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 06 Sep 2005 17:50:47 +0000
parents 460e57cd217f
children f73f33cda590
files lib/ChangeLog lib/regex_internal.h
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -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
--- a/lib/regex_internal.h
+++ b/lib/regex_internal.h
@@ -833,7 +833,7 @@
     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]);
 }