mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix format size qualifier on IL32P64
This commit is contained in:
parent
8c21701968
commit
8f3e29c849
1 changed files with 1 additions and 1 deletions
2
gc.c
2
gc.c
|
@ -13351,7 +13351,7 @@ rb_raw_obj_info(char *buff, const int buff_size, VALUE obj)
|
|||
else {
|
||||
if (STR_EMBED_P(obj)) APPENDF((BUFF_ARGS, " [embed]"));
|
||||
|
||||
APPENDF((BUFF_ARGS, " len: %ld, capa: %ld", RSTRING_LEN(obj), rb_str_capacity(obj)));
|
||||
APPENDF((BUFF_ARGS, " len: %ld, capa: %" PRIdSIZE, RSTRING_LEN(obj), rb_str_capacity(obj)));
|
||||
}
|
||||
APPENDF((BUFF_ARGS, " \"%.*s\"", str_len_no_raise(obj), RSTRING_PTR(obj)));
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue