mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix format specifiers for size_t
This commit is contained in:
parent
94f3aa2126
commit
287eac5e8e
Notes:
git
2022-10-26 09:57:48 +00:00
1 changed files with 1 additions and 1 deletions
|
@ -1462,7 +1462,7 @@ static void
|
|||
io_buffer_validate_type(size_t size, size_t offset)
|
||||
{
|
||||
if (offset > size) {
|
||||
rb_raise(rb_eArgError, "Type extends beyond end of buffer! (offset=%ld > size=%ld)", offset, size);
|
||||
rb_raise(rb_eArgError, "Type extends beyond end of buffer! (offset=%"PRIdSIZE" > size=%"PRIdSIZE")", offset, size);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue