diff options
Diffstat (limited to 'op.h')
-rw-r--r-- | op.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -340,9 +340,9 @@ struct pmop { /* BEWARE - something that calls this macro passes (r) which has a side effect. */ #define PM_SETRE(o,r) STMT_START { \ - const REGEXP *const _pm_setre = (r); \ + REGEXP *const _pm_setre = (r); \ assert(_pm_setre); \ - PL_regex_pad[(o)->op_pmoffset] = (SV*)_pm_setre; \ + PL_regex_pad[(o)->op_pmoffset] = MUTABLE_SV(_pm_setre); \ } STMT_END #else #define PM_GETRE(o) ((o)->op_pmregexp) |