summaryrefslogtreecommitdiff
path: root/pp_pack.c
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2005-03-31 08:51:05 -0600
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-03-31 21:51:28 +0000
commit00646304f46650d8f8cd95d4c043173d162d8d30 (patch)
tree3a0457a3b6fbc8cef67d65c4fa76c6597fdf3801 /pp_pack.c
parent4c2f0760239367df6623fcc9ae4a0c8ae8ec8652 (diff)
downloadperl-00646304f46650d8f8cd95d4c043173d162d8d30.tar.gz
pp_pack.c warnings on VMS
From: "Craig A. Berry" <craigberry@mac.com> Message-ID: <424C62B9.2030601@mac.com> p4raw-id: //depot/perl@24126
Diffstat (limited to 'pp_pack.c')
-rw-r--r--pp_pack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pp_pack.c b/pp_pack.c
index dcebd5bdab..34dffb72d8 100644
--- a/pp_pack.c
+++ b/pp_pack.c
@@ -1283,8 +1283,8 @@ S_unpack_rec(pTHX_ tempsym_t* symptr, char *s, char *strbeg, char *strend, char
from = group ? strbeg + group->strbeg : strbeg;
}
sv = from <= s ?
- newSVuv( u8 ? (UV) utf8_length(from, s) : (UV) (s-from)) :
- newSViv(-(u8 ? (IV) utf8_length(s, from) : (IV) (from-s)));
+ newSVuv( u8 ? (UV) utf8_length((const U8*)from, (const U8*)s) : (UV) (s-from)) :
+ newSViv(-(u8 ? (IV) utf8_length((const U8*)s, (const U8*)from) : (IV) (from-s)));
XPUSHs(sv_2mortal(sv));
break;
}