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 d54865441b..c154e9952a 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -2688,7 +2688,7 @@ S_join_exact(pTHX_ RExC_state_t *pRExC_state, regnode *scan, UV *min_subtract, b
const unsigned int oldl = STR_LEN(scan);
regnode * const nnext = regnext(n);
- if (oldl + STR_LEN(n) > U8_MAX)
+ if (oldl + STR_LEN(n) > EXACT_STR_LEN_MAX)
break;
DEBUG_PEEP("merg",n,depth);