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:
b21a80c
)
Silence a GCC warning
author
Steve Hay
<SteveHay@planit.com>
Mon, 27 Feb 2006 17:48:55 +0000
(17:48 +0000)
committer
Steve Hay
<SteveHay@planit.com>
Mon, 27 Feb 2006 17:48:55 +0000
(17:48 +0000)
(assignment from incompatible pointer type)
p4raw-id: //depot/perl@27348
sv.h
patch
|
blob
|
blame
|
history
diff --git
a/sv.h
b/sv.h
index
fc49f23
..
50f11e0
100644
(file)
--- a/
sv.h
+++ b/
sv.h
@@
-214,7
+214,7
@@
perform the upgrade if necessary. See C<svtype>.
({ \
if (sv) \
(SvREFCNT(sv))++; \
-
sv
; \
+
(SV *)(sv)
; \
})
# define SvREFCNT_inc_NN(sv) \
({ \