summaryrefslogtreecommitdiff
path: root/vms/vms.c
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2001-03-28 04:55:20 -0600
committerJarkko Hietaniemi <jhi@iki.fi>2001-03-28 17:11:12 +0000
commit275feba9fbd11230522bfce6c95502094ff651f6 (patch)
tree42f3e1ae01463356ba7d81579210d3aacf11f7b4 /vms/vms.c
parent3d293bb6615e67800e5f314b6dbfa313554bfd58 (diff)
downloadperl-275feba9fbd11230522bfce6c95502094ff651f6.tar.gz
VMS fix-ups and status
Message-Id: <5.0.2.1.0.20010327164600.031563e8@exchi01> p4raw-id: //depot/perl@9414
Diffstat (limited to 'vms/vms.c')
-rw-r--r--vms/vms.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vms/vms.c b/vms/vms.c
index f63bbde361..7e906564c5 100644
--- a/vms/vms.c
+++ b/vms/vms.c
@@ -4771,10 +4771,10 @@ static unsigned int *sockflags, sockflagsize;
* We don't shim the other file open routines since a socket isn't
* likely to be opened by a name.
*/
-/*{{{ FILE *my_fdopen(int fd, char *mode)*/
-FILE *my_fdopen(int fd, char *mode)
+/*{{{ FILE *my_fdopen(int fd, const char *mode)*/
+FILE *my_fdopen(int fd, const char *mode)
{
- FILE *fp = fdopen(fd,mode);
+ FILE *fp = fdopen(fd, (char *) mode);
if (fp) {
unsigned int fdoff = fd / sizeof(unsigned int);