mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
shape.c: Fix rb_bug call to use correct format for size_t
This commit is contained in:
parent
fd7e56a831
commit
c2f2ac7db3
Notes:
git
2025-06-11 08:10:16 +00:00
1 changed files with 1 additions and 1 deletions
2
shape.c
2
shape.c
|
@ -1222,7 +1222,7 @@ rb_shape_verify_consistency(VALUE obj, shape_id_t shape_id)
|
|||
size_t actual_slot_size = rb_gc_obj_slot_size(obj);
|
||||
|
||||
if (shape_id_slot_size != actual_slot_size) {
|
||||
rb_bug("shape_id heap_index flags mismatch: shape_id_slot_size=%lu, gc_slot_size=%lu\n", shape_id_slot_size, actual_slot_size);
|
||||
rb_bug("shape_id heap_index flags mismatch: shape_id_slot_size=%zu, gc_slot_size=%zu\n", shape_id_slot_size, actual_slot_size);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue