summaryrefslogtreecommitdiff
path: root/src/dfasearch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dfasearch.c')
-rw-r--r--src/dfasearch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dfasearch.c b/src/dfasearch.c
index 2720b3a3..91f776a6 100644
--- a/src/dfasearch.c
+++ b/src/dfasearch.c
@@ -151,7 +151,7 @@ regex_compile (struct dfa_comp *dc, char const *p, idx_t len,
/* Do not use a fastmap with -i, to work around glibc Bug#20381. */
verify (UCHAR_MAX < IDX_MAX);
idx_t uchar_max = UCHAR_MAX;
- pat.fastmap = syntax_only | match_icase ? NULL : ximalloc (uchar_max + 1);
+ pat.fastmap = (syntax_only | match_icase) ? NULL : ximalloc (uchar_max + 1);
pat.translate = NULL;