From c823dac5f1e98e86da278a17fa090e314e1d3a29 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 9 May 2009 03:37:00 +0000 Subject: * variable.c (rb_autoload_load): suppress a warning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- variable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'variable.c') diff --git a/variable.c b/variable.c index ccec03049..f2acd13d4 100644 --- a/variable.c +++ b/variable.c @@ -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 -- cgit