1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

fix type mismatch.

* cont.c (fiber_context_create): `func` should accept variable args.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2018-05-08 06:53:54 +00:00
parent e75d8e0c65
commit 76daf51c36

2
cont.c
View file

@ -143,7 +143,7 @@ enum fiber_status {
#if FIBER_USE_NATIVE && !defined(_WIN32)
static inline void
fiber_context_create(ucontext_t *context, void (*func)(void *), void *arg, void *ptr, size_t size)
fiber_context_create(ucontext_t *context, void (*func)(), void *arg, void *ptr, size_t size)
{
getcontext(context);
context->uc_link = NULL;