This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9893e5
)
Needed one more cast after 32760. The VMS compiler complained
author
Craig A. Berry
<craigberry@mac.com>
Mon, 31 Dec 2007 23:49:48 +0000
(23:49 +0000)
committer
Craig A. Berry
<craigberry@mac.com>
Mon, 31 Dec 2007 23:49:48 +0000
(23:49 +0000)
that a pointer to int and pointer to long are different things
even though they both point to a 32-bit signed integer.
p4raw-id: //depot/perl@32792
av.c
patch
|
blob
|
blame
|
history
diff --git
a/av.c
b/av.c
index
61e4449
..
fcb63e5
100644
(file)
--- a/
av.c
+++ b/
av.c
@@
-974,7
+974,7
@@
IV *
Perl_av_iter_p(pTHX_ AV *av) {
MAGIC *const mg = get_aux_mg(av);
#if IVSIZE == I32SIZE
- return &(mg->mg_len);
+ return
(IV *)
&(mg->mg_len);
#else
if (!mg->mg_ptr) {
IV *temp;