mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* iseq.c: provisional type fixes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8c7f7c29b4
commit
729d726e30
1 changed files with 3 additions and 3 deletions
6
iseq.c
6
iseq.c
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue