diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-10-26 21:42:59 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-10-26 21:42:59 +0000 |
commit | dff6d3cd91bb8f94ad6445629f3bfb07c761a04e (patch) | |
tree | 2fdb1d6ee1668406fc46ad998bab2befadecdcd1 /doio.c | |
parent | 12b99c3939cdc258628e89c11e6677725b2947c0 (diff) | |
download | perl-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 'doio.c')
-rw-r--r-- | doio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |