diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-07 01:12:17 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-07 01:12:17 +0000 |
commit | 729d726e30108a8fc0207d44ae9dc10fa4114759 (patch) | |
tree | 25b3a915290b9c34e5ab2b4c264d23724865ff88 /iseq.c | |
parent | 8c7f7c29b47ae1423f1efd7a0b2350b3c961b0f2 (diff) | |
download | ruby-729d726e30108a8fc0207d44ae9dc10fa4114759.tar.gz |
* iseq.c: provisional type fixes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -163,7 +163,7 @@ iseq_alloc(VALUE klass) static void set_relation(rb_iseq_t *iseq, const VALUE parent) { - const int type = iseq->type; + const VALUE type = iseq->type; rb_thread_t *th = GET_THREAD(); /* set class nest stack */ @@ -979,7 +979,7 @@ rb_iseq_disasm(VALUE self) } /* show each line */ - for (i = 0; i < size;) { + for (i = 0; (size_t)i < size;) { i += rb_iseq_disasm_insn(str, iseq, i, iseqdat, child); } @@ -1408,7 +1408,7 @@ rb_iseq_build_for_ruby2cext( const char *name, const char *filename) { - int i; + unsigned long i; VALUE iseqval = iseq_alloc(rb_cISeq); rb_iseq_t *iseq; GetISeqPtr(iseqval, iseq); |