1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* iseq.c (iseq_data_to_ary): fix type of variable

(long -> unsigned long) to suppress a warning.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2011-08-26 19:04:39 +00:00
parent e0fcbac607
commit 45248e74e4
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sat Aug 27 04:03:18 2011 Koichi Sasada <ko1@atdot.net>
* iseq.c (iseq_data_to_ary): fix type of variable
(long -> unsigned long) to suppress a warning.
Sat Aug 27 04:02:11 2011 Koichi Sasada <ko1@atdot.net>
* vm_core.h: add a decl. of rb_autoloading_value().

3
iseq.c
View file

@ -1101,7 +1101,8 @@ cdhash_each(VALUE key, VALUE value, VALUE ary)
static VALUE
iseq_data_to_ary(rb_iseq_t *iseq)
{
long i, pos, ti;
long i, ti;
unsigned int pos;
unsigned int line = 0;
VALUE *seq;