summaryrefslogtreecommitdiff
path: root/embed.pl
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-02 06:54:22 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-02 06:54:22 +0000
commitea1f607caed6c38921cb6f3d97a719788e30b892 (patch)
tree439b082eda51cf1fe852c89c252ed946f583289b /embed.pl
parent5cefc38b48b3e1ba030221debc31a0d0f7eeb90c (diff)
downloadperl-ea1f607caed6c38921cb6f3d97a719788e30b892.tar.gz
avoid mismatched type warnings
p4raw-id: //depot/perl@4951
Diffstat (limited to 'embed.pl')
-rwxr-xr-xembed.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.pl b/embed.pl
index 0ea9aa2c90..80dda099d0 100755
--- a/embed.pl
+++ b/embed.pl
@@ -821,7 +821,7 @@ EXT void *PL_force_link_funcs[] = {
#undef PERLVARA
#undef PERLVARI
#undef PERLVARIC
-#define PERLVAR(v,t) Perl_##v##_ptr,
+#define PERLVAR(v,t) (void*)Perl_##v##_ptr,
#define PERLVARA(v,n,t) PERLVAR(v,t)
#define PERLVARI(v,t,i) PERLVAR(v,t)
#define PERLVARIC(v,t,i) PERLVAR(v,t)