summaryrefslogtreecommitdiffstats
path: root/object.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-08-14 22:25:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-08-14 22:25:25 +0000
commitda6ba3284024ec8df6d270892a969fbae927aa6a (patch)
treea34d1efb5c0035ba063794876740a6f98f66c2b2 /object.c
parent766cac421d7f53c7aef7bfdd35ca20994e05c309 (diff)
downloadruby-da6ba3284024ec8df6d270892a969fbae927aa6a.tar.gz
ruby-da6ba3284024ec8df6d270892a969fbae927aa6a.tar.xz
ruby-da6ba3284024ec8df6d270892a969fbae927aa6a.zip
* object.c (rb_to_integer): argument constified.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r--object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/object.c b/object.c
index b87a1d3a9..2654bd198 100644
--- a/object.c
+++ b/object.c
@@ -2165,7 +2165,7 @@ rb_check_convert_type(val, type, tname, method)
static VALUE
rb_to_integer(val, method)
VALUE val;
- char *method;
+ const char *method;
{
VALUE v = convert_type(val, "Integer", method, Qtrue);
if (!rb_obj_is_kind_of(v, rb_cInteger)) {