diff --git a/iseq.c b/iseq.c index b623a90ceb..2a056ae0c1 100644 --- a/iseq.c +++ b/iseq.c @@ -739,7 +739,7 @@ insn_operand_intern(rb_iseq_t *iseq, switch (type) { case TS_OFFSET: /* LONG */ - ret = rb_sprintf("%"PRIdSIZE, pos + len + op); + ret = rb_sprintf("%"PRIdVALUE, (VALUE)(pos + len + op)); break; case TS_NUM: /* ULONG */