summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-10-26 21:42:59 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-10-26 21:42:59 +0000
commitdff6d3cd91bb8f94ad6445629f3bfb07c761a04e (patch)
tree2fdb1d6ee1668406fc46ad998bab2befadecdcd1 /mg.c
parent12b99c3939cdc258628e89c11e6677725b2947c0 (diff)
downloadperl-dff6d3cd91bb8f94ad6445629f3bfb07c761a04e.tar.gz
warnings and const violations identified by compiling in C++ mode
with GCC v2.95 p4raw-id: //depot/perl@4461
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mg.c b/mg.c
index 09be2f7bdb..3fa094832b 100644
--- a/mg.c
+++ b/mg.c
@@ -1126,7 +1126,7 @@ int
Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key)
{
dSP;
- char *meth = SvOK(key) ? "NEXTKEY" : "FIRSTKEY";
+ const char *meth = SvOK(key) ? "NEXTKEY" : "FIRSTKEY";
ENTER;
SAVETMPS;