diff options
-rw-r--r-- | op.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5962,7 +5962,7 @@ Perl_newCONSTSUB(pTHX_ HV *stash, const char *name, SV *sv) const char *const file = CopFILE(PL_curcop); #else SV *const temp_sv = CopFILESV(PL_curcop); - const char *const file = temp_sv ? SvPV_const_nolen(temp_sv) : NULL; + const char *const file = temp_sv ? SvPV_nolen_const(temp_sv) : NULL; #endif ENTER; |