зеркало из https://github.com/github/ruby.git
* compile.c (insn_data_to_s_detail), iseq.c (insn_operand_intern):
fixed format specifiers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
5cff0face3
Коммит
a3d0a213dc
|
@ -1,3 +1,8 @@
|
|||
Sun Mar 14 09:50:03 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* 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@ruby-lang.org>
|
||||
|
||||
* file.c (EXPAND_PATH_BUFFER): make it back to usascii, to prevent
|
||||
|
|
|
@ -4973,7 +4973,7 @@ insn_data_to_s_detail(INSN *iobj)
|
|||
|
||||
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) */
|
||||
|
|
2
iseq.c
2
iseq.c
|
@ -797,7 +797,7 @@ insn_operand_intern(rb_iseq_t *iseq,
|
|||
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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче