summaryrefslogtreecommitdiff
path: root/perlapi.h
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 /perlapi.h
parent5cefc38b48b3e1ba030221debc31a0d0f7eeb90c (diff)
downloadperl-ea1f607caed6c38921cb6f3d97a719788e30b892.tar.gz
avoid mismatched type warnings
p4raw-id: //depot/perl@4951
Diffstat (limited to 'perlapi.h')
-rw-r--r--perlapi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/perlapi.h b/perlapi.h
index 22117ed6a1..60c47c78b4 100644
--- a/perlapi.h
+++ b/perlapi.h
@@ -58,7 +58,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)