[前][次][番号順一覧][スレッド一覧]

ruby-changes:17503

From: nobu <ko1@a...>
Date: Fri, 15 Oct 2010 23:18:58 +0900 (JST)
Subject: [ruby-changes:17503] Ruby:r29508 (trunk): * iseq.c (insn_operand_intern): fix format specifier.

nobu	2010-10-15 23:11:26 +0900 (Fri, 15 Oct 2010)

  New Revision: 29508

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=29508

  Log:
    * iseq.c (insn_operand_intern): fix format specifier.

  Modified files:
    trunk/iseq.c

Index: iseq.c
===================================================================
--- iseq.c	(revision 29507)
+++ iseq.c	(revision 29508)
@@ -739,7 +739,7 @@
 
     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 */

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]