Skip to content

Commit

Permalink
Fix shorten-64-to-32 compile warnings/errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Sep 26, 2019
1 parent b193041 commit 9556342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thread.c
Expand Up @@ -671,7 +671,7 @@ thread_do_start(rb_thread_t *th)

if (th->invoke_type == thread_invoke_type_proc) {
VALUE args = th->invoke_arg.proc.args;
int args_len = RARRAY_LEN(args);
int args_len = (int)RARRAY_LEN(args);
int kw_splat = th->invoke_arg.proc.kw_splat;
const VALUE *args_ptr;
VALUE procval = th->invoke_arg.proc.proc;
Expand Down

0 comments on commit 9556342

Please sign in to comment.