summaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index d7ee89713..549c1e43d 100644
--- a/io.c
+++ b/io.c
@@ -2632,7 +2632,7 @@ rb_file_open(const char *fname, const char *mode)
}
static VALUE
-rb_file_sysopen_internal(VALUE io, char *fname, int flags, int mode)
+rb_file_sysopen_internal(VALUE io, const char *fname, int flags, int mode)
{
OpenFile *fptr;