aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2019-11-18 10:36:48 +0900
committerKoichi Sasada <ko1@atdot.net>2019-11-18 10:36:48 +0900
commit5e34ab5406942d43b4c0fbccfc153409d0386d1e (patch)
tree2ffbcc7b4df8f6bc3eae3cec3b7139faed014e2b /vm_insnhelper.c
parentc3693bbaaa39d36210060fb4478751d66c0052ad (diff)
downloadruby-5e34ab5406942d43b4c0fbccfc153409d0386d1e.tar.gz
add casts.
add casts to avoid compile error. http://ci.rvm.jp/results/trunk_clang_39@silicon-docker/2402215
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 a4d2fbcf41..616945fa4c 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -4989,7 +4989,7 @@ vm_invoke_builtin(rb_execution_context_t *ec, rb_control_frame_t *cfp, const str
}
static VALUE
-vm_invoke_builtin_delegate(rb_execution_context_t *ec, rb_control_frame_t *cfp, const struct rb_builtin_function *bf, int start_index)
+vm_invoke_builtin_delegate(rb_execution_context_t *ec, rb_control_frame_t *cfp, const struct rb_builtin_function *bf, unsigned int start_index)
{
if (0) { // debug print
fprintf(stderr, "vm_invoke_builtin_delegate: passing -> ");