summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
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 88def22938..8f33425b56 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -1129,7 +1129,7 @@ vm_callee_setup_keyword_arg(const rb_iseq_t *iseq, int argc, VALUE *orig_argv, V
for (j = i; i < iseq->arg_keywords; i++) {
if (st_lookup(rb_hash_tbl_raw(keyword_hash), ID2SYM(iseq->arg_keyword_table[i]), 0)) j++;
}
- if (RHASH_SIZE(keyword_hash) > j) {
+ if (RHASH_SIZE(keyword_hash) > (unsigned int)j) {
unknown_keyword_error(iseq, keyword_hash);
}
}