This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix C++ build
authorFather Chrysostomos <sprout@cpan.org>
Mon, 24 Sep 2012 16:36:11 +0000 (09:36 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 24 Sep 2012 16:36:11 +0000 (09:36 -0700)
sv.c

diff --git a/sv.c b/sv.c
index 6f65062..f63ab8d 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -8740,7 +8740,7 @@ Perl_sv_resetpvn(pTHX_ const char *s, STRLEN len, HV * const stash)
 {
     dVAR;
     char todo[PERL_UCHAR_MAX+1];
-    char *send;
+    const char *send;
 
     if (!stash)
        return;