summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-15 14:11:26 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-15 14:11:26 +0000
commite8e2ea4866729544943438b1bef072891e3adc30 (patch)
tree45d4632dad0d0381773b428f4469bf086a11e996 /iseq.c
parent12dc1ffd47cf5e368fb30fe77868b40f8c94c718 (diff)
* iseq.c (insn_operand_intern): fix format specifier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-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 */