diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-09 03:37:00 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-09 03:37:00 +0000 |
| commit | c823dac5f1e98e86da278a17fa090e314e1d3a29 (patch) | |
| tree | 670bf8c97706aaf6573bfe6fa4b5900908668d0f /variable.c | |
| parent | f42c860bce1480956ff48e6b9d006b2cdeaf8be9 (diff) | |
| download | ruby-c823dac5f1e98e86da278a17fa090e314e1d3a29.tar.gz ruby-c823dac5f1e98e86da278a17fa090e314e1d3a29.tar.xz ruby-c823dac5f1e98e86da278a17fa090e314e1d3a29.zip | |
* 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
Diffstat (limited to 'variable.c')
| -rw-r--r-- | variable.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
