diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-08-14 22:25:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-08-14 22:25:25 +0000 |
commit | 2e37c7fe2f8024b16382c8f709a07ad22cf329f5 (patch) | |
tree | a34d1efb5c0035ba063794876740a6f98f66c2b2 | |
parent | 4fbaa3aedc8a4a3e8f0fe74061a939062d48c0ce (diff) |
* object.c (rb_to_integer): argument constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | object.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Mon Aug 15 07:24:38 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * object.c (rb_to_integer): argument constified. + Mon Aug 15 00:38:51 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> * eval.c (rb_rescue2): reduce PUSH_TAG() as well as NODE_RESCUE. @@ -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)) { |