mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
vm.c: fix integer type error in mrb_protect_error.
This commit is contained in:
@@ -312,7 +312,7 @@ mrb_protect_error(mrb_state *mrb, mrb_protect_error_func *body, void *userdata,
|
||||
mrb_value result = mrb_nil_value();
|
||||
int ai = mrb_gc_arena_save(mrb);
|
||||
const struct mrb_context *c = mrb->c;
|
||||
int ci_index = c->ci - c->cibase;
|
||||
ptrdiff_t ci_index = c->ci - c->cibase;
|
||||
|
||||
if (error) { *error = FALSE; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user