mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix -Wsign-compare when -DRUBY_DEBUG=1
Sizes for darray are size_t now. CC @peterzhu2118
This commit is contained in:
parent
969ad5802d
commit
797e8f542e
1 changed files with 1 additions and 1 deletions
|
@ -567,7 +567,7 @@ add_block_version(block_t *block)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
RUBY_ASSERT((int32_t)blockid.idx < rb_darray_size(body->yjit_blocks));
|
RUBY_ASSERT(blockid.idx < rb_darray_size(body->yjit_blocks));
|
||||||
rb_yjit_block_array_t *block_array_ref = rb_darray_ref(body->yjit_blocks, blockid.idx);
|
rb_yjit_block_array_t *block_array_ref = rb_darray_ref(body->yjit_blocks, blockid.idx);
|
||||||
|
|
||||||
// Add the new block
|
// Add the new block
|
||||||
|
|
Loading…
Add table
Reference in a new issue