summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-03-24 18:07:02 +0900
committerAaron Patterson <aaron.patterson@gmail.com>2023-03-24 13:52:55 -0700
commit27b1a2992f7bebd9db0b0779cc7fe9b9faf5dca4 (patch)
tree4bb23a586e9bc63d9bcab6d30362f272e7e4ba5c /bootstraptest
parent6c60006de5cfd75f10a1b4a3d822e2de41d22db6 (diff)
downloadruby-27b1a2992f7bebd9db0b0779cc7fe9b9faf5dca4.tar.gz
Adjust SHAPE_BUFFER_SIZE with shape_id_t
On platforms where `shape_id_t` is 16-bits, 0x80000 is out of range of this type. ``` ../src/shape.c: In function ‘shape_alloc’: ../src/shape.c:129:18: warning: comparison is always false due to limited range of data type [-Wtype-limits] 129 | if (shape_id == MAX_SHAPE_ID) { | ^~ ```
Diffstat (limited to 'bootstraptest')
0 files changed, 0 insertions, 0 deletions