summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regcomp.c b/regcomp.c
index 41c42fa3ab..79b1316694 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -2101,7 +2101,7 @@ reg_node(U8 op)
ret = PL_regcode;
if (SIZE_ONLY) {
- SIZE_ALIGN(regsize);
+ SIZE_ALIGN(PL_regsize);
PL_regsize += 1;
return(ret);
}
@@ -2126,7 +2126,7 @@ reganode(U8 op, U32 arg)
ret = PL_regcode;
if (SIZE_ONLY) {
- SIZE_ALIGN(regsize);
+ SIZE_ALIGN(PL_regsize);
PL_regsize += 2;
return(ret);
}