From: Paul Eggert Date: Tue, 6 Sep 2005 17:50:47 +0000 (+0000) Subject: * regex_internal.h (bitset_not): Add parens to avoid gcc -Wall warning. X-Git-Tag: cvs-readonly~2970 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=d18ef5e49ece44c76b9a040b4a4d9b7179175ca2;p=gnulib.git * regex_internal.h (bitset_not): Add parens to avoid gcc -Wall warning. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index f5048ee7a..1312203e3 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2005-09-06 Paul Eggert + + * regex_internal.h (bitset_not): Add parens to avoid gcc -Wall warning. + 2005-09-06 Simon Josefsson * getpass.c (getpass): Fix typo, test for HAVE_TCSETATTR and not diff --git a/lib/regex_internal.h b/lib/regex_internal.h index fe37c0ba0..02087592b 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]); }