diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-10-30 21:39:14 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-10-30 21:39:14 +0000 |
commit | daba3364ed9f39ba44b28575c032f6db52d47881 (patch) | |
tree | 2b3719c92259eb765c79b17198bc9963babc09e1 /taint.c | |
parent | 48ab5743872e4822467917893ea754a3fd36e1cb (diff) | |
download | perl-daba3364ed9f39ba44b28575c032f6db52d47881.tar.gz |
Eliminate (SV *) casts from sv.c and [tu]*.c, except for the cast in
Perl_sv_magicext(), which is documented.
p4raw-id: //depot/perl@34671
Diffstat (limited to 'taint.c')
-rw-r--r-- | taint.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -97,7 +97,7 @@ Perl_taint_env(pTHX) /* If there's no %ENV hash of if it's not magical, croak, because * it probably doesn't reflect the actual environment */ if (!GvHV(PL_envgv) || !(SvRMAGICAL(GvHV(PL_envgv)) - && mg_find((SV*)GvHV(PL_envgv), PERL_MAGIC_env))) { + && mg_find((const SV *)GvHV(PL_envgv), PERL_MAGIC_env))) { const bool was_tainted = PL_tainted; const char * const name = GvENAME(PL_envgv); PL_tainted = TRUE; |