summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorUrabe, Shyouhei <shyouhei@ruby-lang.org>2019-04-25 16:36:32 +0900
committerUrabe, Shyouhei <shyouhei@ruby-lang.org>2019-04-26 15:59:40 +0900
commitb6ebbee5d64dbd422957efe55b4ec5520c9b11bf (patch)
tree9d53ec2dc60a005bf64b5ebb26ebd488a3fcfb29 /vm_insnhelper.c
parent54eac83b2ad77ddea84fa6d66c09e0bb014cf61e (diff)
suppress warning [ci skip]
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 1b0dbde832..e555f6b9bd 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -1890,7 +1890,7 @@ vm_callee_setup_arg(rb_execution_context_t *ec, struct rb_calling_info *calling,
!(METHOD_ENTRY_VISI(cc->me) == METHOD_VISI_PROTECTED));
/* initialize opt vars for self-references */
- VM_ASSERT(iseq->body->param.size == lead_num + opt_num);
+ VM_ASSERT((int)iseq->body->param.size == lead_num + opt_num);
for (int i=argc; i<lead_num + opt_num; i++) {
argv[i] = Qnil;
}