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
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);
|
size_t actual_slot_size = rb_gc_obj_slot_size(obj);
|
||||||
|
|
||||||
if (shape_id_slot_size != actual_slot_size) {
|
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 {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user