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
commit7d31b62a061523f2bec57176128c928fcb67db51 (patch)
tree41cdd9052302a9bcb75c61bd1c6f02015c7237fe /scope.h
parent09ca8a6d12662e4e6424aa91c4752a6e1ced3f6f (diff)
downloadperl-7d31b62a061523f2bec57176128c928fcb67db51.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))