From 442e8a238cfdf24a79af882139190e939612c321 Mon Sep 17 00:00:00 2001 From: naruse Date: Mon, 29 Aug 2011 03:54:35 +0000 Subject: Use PRIdSIZE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- iseq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iseq.c b/iseq.c index b636ae0942..27c4ab7769 100644 --- a/iseq.c +++ b/iseq.c @@ -688,8 +688,8 @@ get_line_info(const rb_iseq_t *iseq, size_t pos) const int debug = 0; if (debug) { - printf("size: %d\n", size); - printf("table[%d]: position: %d, line: %d, pos: %d\n", + printf("size: %"PRIdSIZE"\n", size); + printf("table[%"PRIdSIZE"]: position: %d, line: %d, pos: %"PRIdSIZE"\n", i, table[i].position, table[i].line_no, pos); } @@ -701,7 +701,7 @@ get_line_info(const rb_iseq_t *iseq, size_t pos) } else { for (i=1; i