summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-26 19:04:39 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-26 19:04:39 +0000
commit45248e74e424715c51c0d14e958fd3a9995ba572 (patch)
treea40738f3e0969691da2c4c6a6e04a23bbdaca0b9 /iseq.c
parente0fcbac6074700b84ae8032f741a36245cdd526e (diff)
* 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
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index bd7be02c4f..b636ae0942 100644
--- a/iseq.c
+++ b/iseq.c
@@ -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;