summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-12-06 22:42:18 -0700
committerKarl Williamson <public@khwilliamson.com>2012-12-09 09:47:17 -0700
commita1894d81735066945ef520af52cc180d1e0dfb10 (patch)
treefbe1d58c83b085af9b73c2bfe7201394abb290d1 /doio.c
parent6c2f1a55be4cd937e7e87f2ffb875a22688fb01e (diff)
downloadperl-a1894d81735066945ef520af52cc180d1e0dfb10.tar.gz
Silence some g++ compiler warnings
Changing these slightly got rid of the warnings like: toke.c:9168: warning: format not a string literal and no format arguments
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doio.c b/doio.c
index e915bd5c3f..08ed433d6a 100644
--- a/doio.c
+++ b/doio.c
@@ -1333,7 +1333,7 @@ I32
Perl_my_lstat_flags(pTHX_ const U32 flags)
{
dVAR;
- static const char no_prev_lstat[] = "The stat preceding -l _ wasn't an lstat";
+ static const char* const no_prev_lstat = "The stat preceding -l _ wasn't an lstat";
dSP;
const char *file;
if (PL_op->op_flags & OPf_REF) {