diff options
author | Kazuhiro NISHIYAMA <[email protected]> | 2021-10-28 08:23:18 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <[email protected]> | 2021-10-28 09:07:22 +0900 |
commit | da22e43ce07040c71bf7ea3aff75b86aae60e7e5 (patch) | |
tree | 673a27a364099e2378b72eceab77c42a0ec6e691 /gc.c | |
parent | b74bf8dd8800e4d47923b99cf48e18c70ed59dbe (diff) |
Fix a warning
```
../gc.c:2342:25: warning: array subscript is of type 'char' [-Wchar-subscripts]
GC_ASSERT(size_pools[pool_id].slot_size == slot_size);
^~~~~~~~
```
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2331,7 +2331,7 @@ rb_gc_obj_slot_size(VALUE obj) } static inline size_t -size_pool_slot_size(char pool_id) +size_pool_slot_size(unsigned char pool_id) { GC_ASSERT(pool_id < SIZE_POOL_COUNT); |