mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* variable.c (rb_autoload_load): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
46be98a8cf
commit
e480675652
1 changed files with 1 additions and 1 deletions
|
@ -1440,7 +1440,7 @@ rb_autoload_load(VALUE klass, ID id)
|
||||||
|
|
||||||
if (!load) return Qfalse;
|
if (!load) return Qfalse;
|
||||||
file = load->nd_lit;
|
file = load->nd_lit;
|
||||||
return rb_require_safe(file, load->nd_nth);
|
return rb_require_safe(file, (int)load->nd_nth);
|
||||||
}
|
}
|
||||||
|
|
||||||
VALUE
|
VALUE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue