diff options
author | Jean Boussier <[email protected]> | 2025-06-11 09:03:26 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-06-11 10:10:04 +0200 |
commit | c2f2ac7db37936375307378dceee6f62fe881882 (patch) | |
tree | f46ceb876fa6e95d51ad0b05c7b8b5ecc4392441 /shape.c | |
parent | fd7e56a831acfdcfd42bee958ae62967dc1033e1 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |