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:
parent
e75d8e0c65
commit
76daf51c36
2
cont.c
2
cont.c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user