summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--universal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/universal.c b/universal.c
index 27783acd16..dec85058e6 100644
--- a/universal.c
+++ b/universal.c
@@ -1175,7 +1175,7 @@ XS(XS_re_regexp_pattern)
/* Houston, we have a regex! */
SV *pattern;
STRLEN left = 0;
- char reflags[6];
+ char reflags[sizeof(INT_PAT_MODS)];
if ( GIMME_V == G_ARRAY ) {
/*