From 6f58bf491a13e3bd3dd4a0132fa4e5b40520141d 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: http://svn.ruby-lang.org/repos/ruby/trunk@9128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ruby.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ruby.c') diff --git a/ruby.c b/ruby.c index 7682d1e1a..4f6fdaddd 100644 --- a/ruby.c +++ b/ruby.c @@ -118,7 +118,7 @@ extern VALUE rb_load_path; #if defined _WIN32 || defined __CYGWIN__ || defined __DJGPP__ static char * -rubylib_mangle(char *s, unsigned int l) +rubylib_mangle(const char *s, unsigned int l) { static char *newp, *oldp; static int newl, oldl, notfound; -- cgit