From e8e2ea4866729544943438b1bef072891e3adc30 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 15 Oct 2010 14:11:26 +0000 Subject: * 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 --- iseq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iseq.c') 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 */ -- cgit v1.2.3