mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix rb_thread_create argument type
in response to the declaration change in
e3fc30564e
.
Fixing the AppVeyor mswin CI failure:
https://ci.appveyor.com/project/ruby/ruby/builds/26980881/job/2j6h1qwjnbc8cpop
ref: https://github.com/ruby/ruby/pull/2404
This commit is contained in:
parent
d806078237
commit
eaff19de2b
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ static VALUE thread_spec_rb_thread_create(VALUE self, VALUE proc, VALUE arg) {
|
|||
rb_ary_push(args, proc);
|
||||
rb_ary_push(args, arg);
|
||||
|
||||
return rb_thread_create(thread_spec_call_proc, (void*)args);
|
||||
return rb_thread_create((VALUE (*)(void *))thread_spec_call_proc, (void*)args);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue