summaryrefslogtreecommitdiff
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
commit4409f88ad81e5a9317caa554deb26c770d34d95f (patch)
tree53fbe7d62d46be4b12a32fdefcce7a70e7a4fa88 /ruby.c
parent7ecb12dc27fa57b7d0ebae0584f9cef86c8dcb65 (diff)
* 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
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 7682d1e1a4..4f6fdaddd7 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;