summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2026-05-10 19:56:16 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2026-05-10 19:56:16 +0900
commit186da0b481333354bc97534396fb91e222989dc9 (patch)
treefc1f9ff5bd5b203b2aba78b5b0b7f2c6e29dc836
parent78562d38fb9e8079d6e810dc16c3594dc4515932 (diff)
Fix modifier for `size_t`
-rw-r--r--shape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shape.c b/shape.c
index 2b4256e5f3..24f1394f6c 100644
--- a/shape.c
+++ b/shape.c
@@ -1529,7 +1529,7 @@ Init_default_shapes(void)
}
if (heaps_count > SHAPE_ID_HEAP_INDEX_MAX) {
- rb_bug("Init_default_shapes initialized with %lu heaps, only up to %u are supported", heaps_count, SHAPE_ID_HEAP_INDEX_MAX);
+ rb_bug("Init_default_shapes initialized with %zu heaps, only up to %u are supported", heaps_count, SHAPE_ID_HEAP_INDEX_MAX);
}
size_t index;