summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-01-06 15:21:53 +0000
committerNicholas Clark <nick@ccl4.org>2008-01-06 15:21:53 +0000
commitede1273d4e7ecb92df498e88937c3198127171a4 (patch)
tree14f4a7fa8583d7bea84c34019b0518e54bf9053f /op.c
parent9cddf794fc52f08a145668164b1e3c15c91a713f (diff)
downloadperl-ede1273d4e7ecb92df498e88937c3198127171a4.tar.gz
Enforce some type safety in PM_SETRE by adding PM_SETRE_OFFSET.
p4raw-id: //depot/perl@32868
Diffstat (limited to 'op.c')
-rw-r--r--op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.c b/op.c
index 569a159106..93a8bfd91f 100644
--- a/op.c
+++ b/op.c
@@ -627,7 +627,7 @@ clear_pmop:
av_push((AV*) PL_regex_pad[0],(SV*) PL_regex_pad[(cPMOPo)->op_pmoffset]);
SvREADONLY_off(PL_regex_pad[(cPMOPo)->op_pmoffset]);
SvREPADTMP_on(PL_regex_pad[(cPMOPo)->op_pmoffset]);
- PM_SETRE(cPMOPo, (cPMOPo)->op_pmoffset);
+ PM_SETRE_OFFSET(cPMOPo, (cPMOPo)->op_pmoffset);
}
#else
ReREFCNT_dec(PM_GETRE(cPMOPo));