summaryrefslogtreecommitdiff
path: root/shape.c
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2025-06-11 09:03:26 +0200
committerJean Boussier <[email protected]>2025-06-11 10:10:04 +0200
commitc2f2ac7db37936375307378dceee6f62fe881882 (patch)
treef46ceb876fa6e95d51ad0b05c7b8b5ecc4392441 /shape.c
parentfd7e56a831acfdcfd42bee958ae62967dc1033e1 (diff)
shape.c: Fix rb_bug call to use correct format for size_t
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13583
Diffstat (limited to 'shape.c')
-rw-r--r--shape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shape.c b/shape.c
index a7dff90ce3..20cbaf54a4 100644
--- a/shape.c
+++ b/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 {