diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-02 23:19:18 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-02 23:19:18 +0000 |
commit | e1b932d0c26e93aa0117fc91dc052312a345de27 (patch) | |
tree | 731191f025c5b96456141cb06b7579c60523b66d /object.c | |
parent | 734915ae2df6c27a0b3991ea58586887e6e5f458 (diff) | |
download | ruby-e1b932d0c26e93aa0117fc91dc052312a345de27.tar.gz |
object.c: fix up r51039
* object.c (convert_type): conversion without "to_" prefix is not
implicit. fix up r51039.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2579,7 +2579,7 @@ static VALUE convert_type(VALUE val, const char *tname, const char *method, int raise) { ID m = 0; - int i; + int i = numberof(conv_method_names); VALUE r; static const char prefix[] = "to_"; |