From: Craig A. Berry Date: Mon, 31 Dec 2007 23:49:48 +0000 (+0000) Subject: Needed one more cast after 32760. The VMS compiler complained X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=20bff64c49dd2f5a078490a2b3c858a4380fd121;p=p5sagit%2Fp5-mst-13.2.git 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 --- diff --git a/av.c b/av.c index 61e4449..fcb63e5 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;