mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 20:19:19 +00:00
Fix format specifier
This commit is contained in:
parent
46e46eafd4
commit
943b6e4d9c
@ -390,7 +390,7 @@ rb_io_buffer_to_s(VALUE self)
|
||||
VALUE result = rb_str_new_cstr("#<");
|
||||
|
||||
rb_str_append(result, rb_class_name(CLASS_OF(self)));
|
||||
rb_str_catf(result, " %p+%ld", data->base, data->size);
|
||||
rb_str_catf(result, " %p+%"PRIdSIZE, data->base, data->size);
|
||||
|
||||
if (data->flags & RB_IO_BUFFER_INTERNAL) {
|
||||
rb_str_cat2(result, " INTERNAL");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user