summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorJim Cromie <jcromie@cpan.org>2007-06-11 07:49:06 -0600
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-06-12 08:43:55 +0000
commit20f84293546435bbf5229325e767dc5e48ccb459 (patch)
tree8e862ca90242c9368662f55ae5532ba4ac5c1b3c /dump.c
parent1ad2138d16a5e3f58707d9c3b6f980ab17348c88 (diff)
downloadperl-20f84293546435bbf5229325e767dc5e48ccb459.tar.gz
mad-const patch
Message-ID: <466DA732.3010608@gmail.com> p4raw-id: //depot/perl@31369
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dump.c b/dump.c
index 7c28341894..a83e17f341 100644
--- a/dump.c
+++ b/dump.c
@@ -2141,11 +2141,11 @@ Perl_sv_catxmlsv(pTHX_ SV *dsv, SV *ssv)
}
char *
-Perl_sv_catxmlpvn(pTHX_ SV *dsv, char* pv, STRLEN len, int utf8)
+Perl_sv_catxmlpvn(pTHX_ SV *dsv, const char *pv, STRLEN len, int utf8)
{
unsigned int c;
const char * const e = pv + len;
- char *start = pv;
+ const char * const start = pv;
STRLEN dsvcur;
STRLEN cl;
@@ -2818,7 +2818,7 @@ Perl_do_op_xmldump(pTHX_ I32 level, PerlIO *file, const OP *o)
if (PL_madskills && o->op_madprop) {
char prevkey = '\0';
SV * const tmpsv = newSVpvn("", 0);
- const MADPROP* const mp = o->op_madprop;
+ const MADPROP* mp = o->op_madprop;
sv_utf8_upgrade(tmpsv);
if (!contents) {