summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index 2b76898341..afa6712253 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -8932,7 +8932,7 @@ parseit:
* interaction with above 0x100 chars */
if ((ANYOF_FLAGS(ret) & ANYOF_FLAGS_ALL) == ANYOF_INVERT) {
for (value = 0; value < ANYOF_BITMAP_SIZE; ++value)
- ANYOF_BITMAP(ret)[value] ^= ANYOF_FLAGS_ALL;
+ ANYOF_BITMAP(ret)[value] ^= 0xFF;
ANYOF_FLAGS(ret) = ANYOF_UNICODE_ALL;
}