summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-11-21 00:17:08 -0800
committerFather Chrysostomos <sprout@cpan.org>2014-11-30 11:48:36 -0800
commite1c02f8429b9931efc13e763746fa70a9acd3324 (patch)
treee9b98d9b3a598e8a8195177c2b8133369650325f /sv.h
parent3bc8ec963e9657121e69386195faa61e46928dda (diff)
downloadperl-e1c02f8429b9931efc13e763746fa70a9acd3324.tar.gz
Use PADNAME rather than SV in the source
This is in preparation for making PADNAME a separate type. This commit is not perfect. What I did was temporarily make PADNAME a separate struct identical to struct sv and make whatever changes were necessary to avoid compiler warnings. In some cases I had to add tem- porary SV casts.
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.h b/sv.h
index da36705284..35a396eb07 100644
--- a/sv.h
+++ b/sv.h
@@ -2212,7 +2212,7 @@ C<newSVpadname> is preferable.
=cut
*/
-#define newSVpadname(pn) newSVsv(pn)
+#define newSVpadname(pn) newSVsv((SV *)(pn))
/*
=for apidoc Am|void|SvOOK_offset|NN SV*sv|STRLEN len