diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-06-09 10:36:53 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-06-09 10:36:53 +0000 |
commit | b83604b4e5062f93776f6a381f822df058667e23 (patch) | |
tree | 5f2327acdc21b277967dfa470e28258e2d98feaa /pp_pack.c | |
parent | 9b72c5e4bad2968d5855406da5849c115d1a7562 (diff) | |
download | perl-b83604b4e5062f93776f6a381f822df058667e23.tar.gz |
More SvPV consting
p4raw-id: //depot/perl@24778
Diffstat (limited to 'pp_pack.c')
-rw-r--r-- | pp_pack.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2832,14 +2832,14 @@ S_pack_rec(pTHX_ SV *cat, tempsym_t* symptr, SV **beglist, SV **endlist ) } case 'B': case 'b': { - char *str, *end; + const char *str, *end; I32 l, field_len; U8 bits; bool utf8_source; U32 utf8_flags; fromstr = NEXTFROM; - str = SvPV(fromstr, fromlen); + str = SvPV_const(fromstr, fromlen); end = str + fromlen; if (DO_UTF8(fromstr)) { utf8_source = TRUE; |