summaryrefslogtreecommitdiff
path: root/embed.pl
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-03 23:37:17 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-03 23:37:17 +0000
commit425d70b4c4324ccafae8099527a1f9ab13640b5c (patch)
treef41a6c5d0e15d27cc9a028184b6d98d42e2cf3d0 /embed.pl
parent5e931b6b27bc1bb6cc2bcce917cc8f887bf37d90 (diff)
downloadperl-425d70b4c4324ccafae8099527a1f9ab13640b5c.tar.gz
Various "cast to pointer from integer of different size"
picked up by gcc -Wall (in Tru64 where pointers are 64 bits wide but I32 (int) only 32 bits wide). WARNING: the classnum and tagnum changes in Storable.xs may not be wise, they may be breaking binary compatibility (in 64-bit platforms), asked Raphael Manfredi about the changes. p4raw-id: //depot/perl@10417
Diffstat (limited to 'embed.pl')
-rwxr-xr-xembed.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/embed.pl b/embed.pl
index c8ea257a33..a2e833b9c6 100755
--- a/embed.pl
+++ b/embed.pl
@@ -1750,7 +1750,7 @@ Apd |int |mg_get |SV* sv
Apd |U32 |mg_length |SV* sv
Apd |void |mg_magical |SV* sv
Apd |int |mg_set |SV* sv
-Ap |I32 |mg_size |SV* sv
+Ap |IV |mg_size |SV* sv
Ap |void |mini_mktime |struct tm *pm
p |OP* |mod |OP* o|I32 type
p |int |mode_from_discipline|SV* discp
@@ -2284,7 +2284,7 @@ s |void |hv_magic_check |HV *hv|bool *needs_copy|bool *needs_store
#endif
#if defined(PERL_IN_MG_C) || defined(PERL_DECL_PROT)
-s |void |save_magic |I32 mgs_ix|SV *sv
+s |void |save_magic |IV mgs_ix|SV *sv
s |int |magic_methpack |SV *sv|MAGIC *mg|char *meth
s |int |magic_methcall |SV *sv|MAGIC *mg|char *meth|I32 f \
|int n|SV *val