summaryrefslogtreecommitdiff
path: root/doio.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
commitdb89559aa3bf0829f9ce6476f3953f08a539c02e (patch)
tree2fdb1d6ee1668406fc46ad998bab2befadecdcd1 /doio.c
parent2dd6ab7dc1ee6a596ce238f43c34fe772aeeffe9 (diff)
downloadperl-db89559aa3bf0829f9ce6476f3953f08a539c02e.tar.gz
warnings and const violations identified by compiling in C++ mode
with GCC v2.95 p4raw-id: //depot/perl@4461
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 bf961f0c07..123815d2f4 100644
--- a/doio.c
+++ b/doio.c
@@ -168,7 +168,7 @@ Perl_do_open9(pTHX_ GV *gv, register char *name, I32 len, int as_raw,
if (fd == -1)
fp = NULL;
else {
- char *fpmode;
+ const char *fpmode;
if (result == O_RDONLY)
fpmode = "r";
#ifdef O_APPEND