mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
use size_t instead of int
This commit is contained in:
@@ -134,8 +134,8 @@ static void
|
||||
stack_extend_alloc(mrb_state *mrb, int room, int keep)
|
||||
{
|
||||
mrb_value *oldbase = mrb->c->stbase;
|
||||
int size = mrb->c->stend - mrb->c->stbase;
|
||||
int off = mrb->c->stack - mrb->c->stbase;
|
||||
size_t size = mrb->c->stend - mrb->c->stbase;
|
||||
size_t off = mrb->c->stack - mrb->c->stbase;
|
||||
|
||||
#ifdef MRB_STACK_EXTEND_DOUBLING
|
||||
if (room <= size)
|
||||
|
||||
Reference in New Issue
Block a user