Skip to content

Commit

Permalink
fix: src\vm.c(445): warning C4244: '=': conversion from 'mrb_int' to …
Browse files Browse the repository at this point in the history
…'int', possible loss of data
  • Loading branch information
dabroz committed Sep 27, 2017
1 parent 23cc698 commit 67ab840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm.c
Expand Up @@ -442,7 +442,7 @@ mrb_funcall_with_block(mrb_state *mrb, mrb_value self, mrb_sym mid, mrb_int argc
voff = argv - mrb->c->stbase;
}
if (MRB_PROC_CFUNC_P(p)) {
ci->nregs = argc + 2;
ci->nregs = (int)(argc + 2);
stack_extend(mrb, ci->nregs);
}
else if (argc >= CALL_MAXARGS) {
Expand Down

0 comments on commit 67ab840

Please sign in to comment.