summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/iseq.c b/iseq.c
index fdfd3b5f13..aadb28b8ee 100644
--- a/iseq.c
+++ b/iseq.c
@@ -1379,7 +1379,7 @@ rb_iseq_disasm(VALUE self)
VALUE *iseq;
VALUE str = rb_str_new(0, 0);
VALUE child = rb_ary_new();
- unsigned long size;
+ unsigned int size;
int i;
long l;
ID *tbl;
@@ -2144,7 +2144,8 @@ int
rb_iseq_line_trace_each(VALUE iseqval, int (*func)(int line, rb_event_flag_t *events_ptr, void *d), void *data)
{
int trace_num = 0;
- size_t pos, insn;
+ unsigned int pos;
+ size_t insn;
rb_iseq_t *iseq;
int cont = 1;
GetISeqPtr(iseqval, iseq);