summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-09-25 17:59:41 -0700
committerJeremy Evans <code@jeremyevans.net>2019-09-26 08:01:53 -0700
commit955634283862d9d1966de43c73ece15714afdae2 (patch)
tree708650a53d93fc3a670514e6067db5f7c2331a8b /thread.c
parentb193041b992e5ce0ae1a07735fbdc53a739b5434 (diff)
Fix shorten-64-to-32 compile warnings/errors
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2484
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index b6fd8e52b3..66e3f8a7b1 100644
--- a/thread.c
+++ b/thread.c
@@ -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;