This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d17ea59
)
Fix compiler warning about comparison of pointer types.
author
Nicholas Clark
<nick@ccl4.org>
Sat, 29 Mar 2008 07:08:50 +0000
(07:08 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Sat, 29 Mar 2008 07:08:50 +0000
(07:08 +0000)
p4raw-id: //depot/perl@33596
sv.c
patch
|
blob
|
blame
|
history
diff --git
a/sv.c
b/sv.c
index
8d986b7
..
f2b24a6
100644
(file)
--- a/
sv.c
+++ b/
sv.c
@@
-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);