summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-01 05:15:27 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-01 05:15:27 +0000
commit57b2e4523f4df782c055782388ac1aacff9603ef (patch)
tree41cdd9052302a9bcb75c61bd1c6f02015c7237fe /scope.h
parent6e2389900607e3ba1246245908fb3c54e7e4c763 (diff)
downloadperl-57b2e4523f4df782c055782388ac1aacff9603ef.tar.gz
avoid PTR->IV cast warnings
p4raw-id: //depot/perl@4605
Diffstat (limited to 'scope.h')
-rw-r--r--scope.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scope.h b/scope.h
index 6d6b01351f..330467f4cf 100644
--- a/scope.h
+++ b/scope.h
@@ -78,7 +78,7 @@
#define SAVELONG(l) save_long(SOFT_CAST(long*)&(l))
#define SAVESPTR(s) save_sptr((SV**)&(s))
#define SAVEPPTR(s) save_pptr(SOFT_CAST(char**)&(s))
-#define SAVEVPTR(s) save_vptr(&(s))
+#define SAVEVPTR(s) save_vptr((void*)&(s))
#define SAVEFREESV(s) save_freesv((SV*)(s))
#define SAVEFREEOP(o) save_freeop(SOFT_CAST(OP*)(o))
#define SAVEFREEPV(p) save_freepv(SOFT_CAST(char*)(p))