mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Fix format specifiers for size_t
This commit is contained in:
parent
2e8a4470ae
commit
9c5e1b7189
1 changed files with 2 additions and 1 deletions
3
gc.c
3
gc.c
|
@ -2769,7 +2769,8 @@ size_pool_idx_for_size(size_t size)
|
|||
size_t size_pool_idx = 64 - nlz_int64(slot_count - 1);
|
||||
|
||||
if (size_pool_idx >= SIZE_POOL_COUNT) {
|
||||
rb_bug("size_pool_idx_for_size: allocation size too large (size=%lu, size_pool_idx=%lu)", size, size_pool_idx);
|
||||
rb_bug("size_pool_idx_for_size: allocation size too large "
|
||||
"(size=%"PRIuSIZE"u, size_pool_idx=%"PRIuSIZE"u)", size, size_pool_idx);
|
||||
}
|
||||
|
||||
#if RGENGC_CHECK_MODE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue