summaryrefslogtreecommitdiff
path: root/av.c
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2007-12-31 23:49:48 +0000
committerCraig A. Berry <craigberry@mac.com>2007-12-31 23:49:48 +0000
commit20bff64c49dd2f5a078490a2b3c858a4380fd121 (patch)
tree096885521ce12114497f08b9c1a0038047e2ddbe /av.c
parentb9893e571ac0b667e330dd75c20bb498b61c4750 (diff)
downloadperl-20bff64c49dd2f5a078490a2b3c858a4380fd121.tar.gz
Needed one more cast after 32760. The VMS compiler complained
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
Diffstat (limited to 'av.c')
-rw-r--r--av.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/av.c b/av.c
index 61e44495fc..fcb63e5664 100644
--- 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;