diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-03-29 07:08:50 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-03-29 07:08:50 +0000 |
commit | cddfcddc190fa3c9953973822c35e3baa71181f0 (patch) | |
tree | 199694ec544bcbf7f551bc9519a82fba28f3c0f0 | |
parent | d17ea59705db215628334e7846dd1056ff795f97 (diff) | |
download | perl-cddfcddc190fa3c9953973822c35e3baa71181f0.tar.gz |
Fix compiler warning about comparison of pointer types.
p4raw-id: //depot/perl@33596
-rw-r--r-- | sv.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -516,8 +516,10 @@ static void do_clean_all(pTHX_ SV *const sv) { dVAR; - if (sv == PL_fdpid || sv == PL_strtab) /* don't clean pid table and strtab */ + if (sv == (SV*) PL_fdpid || sv == (SV *)PL_strtab) { + /* don't clean pid table and strtab */ return; + } DEBUG_D((PerlIO_printf(Perl_debug_log, "Cleaning loops: SV at 0x%"UVxf"\n", PTR2UV(sv)) )); SvFLAGS(sv) |= SVf_BREAK; SvREFCNT_dec(sv); |