1
0
Fork 0
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:
nobu 2009-05-09 03:37:00 +00:00
parent 46be98a8cf
commit e480675652

View file

@ -1440,7 +1440,7 @@ rb_autoload_load(VALUE klass, ID id)
if (!load) return Qfalse;
file = load->nd_lit;
return rb_require_safe(file, load->nd_nth);
return rb_require_safe(file, (int)load->nd_nth);
}
VALUE