diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-29 03:54:35 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-29 03:54:35 +0000 |
commit | 442e8a238cfdf24a79af882139190e939612c321 (patch) | |
tree | 008871c9d989160e6d4ca10bf67f652806b3acd0 /iseq.c | |
parent | c89b18dfd126850d4e9a0824c2a4b8218a7fa308 (diff) | |
download | ruby-442e8a238cfdf24a79af882139190e939612c321.tar.gz |
Use PRIdSIZE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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<size; i++) { - if (debug) printf("table[%d]: position: %d, line: %d, pos: %d\n", + if (debug) printf("table[%"PRIdSIZE"]: position: %d, line: %d, pos: %"PRIdSIZE"\n", i, table[i].position, table[i].line_no, pos); if (table[i].position == pos) { |