diff options
author | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2007-10-03 11:29:58 +0000 |
---|---|---|
committer | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2007-10-03 11:29:58 +0000 |
commit | c8ae91a8d996e65182b5522ff8f511a834fac9c1 (patch) | |
tree | 1f3b66f0b143aca56392ee8582cc8fcf34d76f2d /doio.c | |
parent | 80626cf17d219cfbdd1f416438a98b310b6f2e0b (diff) | |
download | perl-c8ae91a8d996e65182b5522ff8f511a834fac9c1.tar.gz |
One const too much. (Unfortunately, the Copy macro casts
the constness away, so the compiler cannot detect this.)
p4raw-id: //depot/perl@32014
Diffstat (limited to 'doio.c')
-rw-r--r-- | doio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2249,7 +2249,7 @@ Perl_do_shmio(pTHX_ I32 optype, SV **mark, SV **sp) if (shm == (char *)-1) /* I hate System V IPC, I really do */ return -1; if (optype == OP_SHMREAD) { - const char *mbuf; + char *mbuf; /* suppress warning when reading into undef var (tchrist 3/Mar/00) */ if (! SvOK(mstr)) sv_setpvn(mstr, "", 0); |