From d18ef5e49ece44c76b9a040b4a4d9b7179175ca2 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Tue, 6 Sep 2005 17:50:47 +0000
Subject: [PATCH] * regex_internal.h (bitset_not): Add parens to avoid gcc
 -Wall warning.

---
 lib/ChangeLog        | 4 ++++
 lib/regex_internal.h | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/lib/ChangeLog b/lib/ChangeLog
index f5048ee7a6..1312203e33 100644
--- 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
diff --git a/lib/regex_internal.h b/lib/regex_internal.h
index fe37c0ba03..02087592bc 100644
--- a/lib/regex_internal.h
+++ b/lib/regex_internal.h
@@ -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]);
 }
 
-- 
2.30.2