diff options
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5922,7 +5922,7 @@ Perl_get_re_arg(pTHX_ SV *sv) { (tmpsv = (SV*)SvRV(sv)) && /* assign deliberate */ SvTYPE(tmpsv) == SVt_REGEXP) { - return ((struct xregexp *)SvANY(tmpsv))->xrx_regexp; + return tmpsv; } } |