diff options
author | Craig A. Berry <craigberry@mac.com> | 2005-03-31 08:51:05 -0600 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-03-31 21:51:28 +0000 |
commit | 00646304f46650d8f8cd95d4c043173d162d8d30 (patch) | |
tree | 3a0457a3b6fbc8cef67d65c4fa76c6597fdf3801 /pp_pack.c | |
parent | 4c2f0760239367df6623fcc9ae4a0c8ae8ec8652 (diff) | |
download | perl-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |