ruby-changes:15038
From: nobu <ko1@a...>
Date: Sun, 14 Mar 2010 09:50:30 +0900 (JST)
Subject: [ruby-changes:15038] Ruby:r26914 (trunk): * compile.c (insn_data_to_s_detail), iseq.c (insn_operand_intern):
nobu 2010-03-14 09:50:10 +0900 (Sun, 14 Mar 2010) New Revision: 26914 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26914 Log: * compile.c (insn_data_to_s_detail), iseq.c (insn_operand_intern): fixed format specifiers. Modified files: trunk/ChangeLog trunk/compile.c trunk/iseq.c Index: ChangeLog =================================================================== --- ChangeLog (revision 26913) +++ ChangeLog (revision 26914) @@ -1,3 +1,8 @@ +Sun Mar 14 09:50:03 2010 Nobuyoshi Nakada <nobu@r...> + + * compile.c (insn_data_to_s_detail), iseq.c (insn_operand_intern): + fixed format specifiers. + Sun Mar 14 07:20:17 2010 Yukihiro Matsumoto <matz@r...> * file.c (EXPAND_PATH_BUFFER): make it back to usascii, to prevent Index: iseq.c =================================================================== --- iseq.c (revision 26913) +++ iseq.c (revision 26914) @@ -797,7 +797,7 @@ break; case TS_IC: - ret = rb_sprintf("<ic:%d>", (struct iseq_inline_cache_entry *)op - iseq->ic_entries); + ret = rb_sprintf("<ic:%"PRIdPTRDIFF">", (struct iseq_inline_cache_entry *)op - iseq->ic_entries); break; case TS_CDHASH: Index: compile.c =================================================================== --- compile.c (revision 26913) +++ compile.c (revision 26914) @@ -4973,7 +4973,7 @@ for (j = 0; types[j]; j++) { char type = types[j]; - printf("str: %p, type: %c\n", str, type); + printf("str: %"PRIxVALUE", type: %c\n", str, type); switch (type) { case TS_OFFSET: /* label(destination position) */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/