1
0
Fork 0
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:
Nobuyoshi Nakada 2022-01-19 13:33:14 +09:00
parent 8c21701968
commit 8f3e29c849
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

2
gc.c
View file

@ -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;