summaryrefslogtreecommitdiffstats
path: root/ruby.c
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-12 11:03:24 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-12 11:03:24 +0000
commit6f58bf491a13e3bd3dd4a0132fa4e5b40520141d (patch)
tree53fbe7d62d46be4b12a32fdefcce7a70e7a4fa88 /ruby.c
parent8600efc09a22ad267f0d45fe9d651d81417bc5ef (diff)
downloadruby-6f58bf491a13e3bd3dd4a0132fa4e5b40520141d.tar.gz
ruby-6f58bf491a13e3bd3dd4a0132fa4e5b40520141d.tar.xz
ruby-6f58bf491a13e3bd3dd4a0132fa4e5b40520141d.zip
* 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
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c2
1 files changed, 1 insertions, 1 deletions
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;