From 4409f88ad81e5a9317caa554deb26c770d34d95f Mon Sep 17 00:00:00 2001 From: ocean Date: Mon, 12 Sep 2005 11:03:24 +0000 Subject: * dln.c: avoid warning of const to non-const convertion. [ruby-dev:27041] * eval.c, io.c, ruby.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io.c') diff --git a/io.c b/io.c index d7ee89713d..549c1e43d8 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; -- cgit v1.2.1