summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--iseq.c2
1 files changed, 1 insertions, 1 deletions
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 */