diff options
author | 卜部昌平 <[email protected]> | 2020-01-31 15:53:03 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2020-02-06 11:46:51 +0900 |
commit | ce4ea956d24eab5089a143bba38126f2b11b55b6 (patch) | |
tree | 3754a8344a7d9c66095c0b6dc34651112274cd9a /coroutine/ucontext | |
parent | b223a78a71b9f000315d70987d600661420f9475 (diff) |
function pointers are not void*
The same as 8427fca49bd85205f5a8766292dd893f003c0e48.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2885
Diffstat (limited to 'coroutine/ucontext')
-rw-r--r-- | coroutine/ucontext/Context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coroutine/ucontext/Context.c b/coroutine/ucontext/Context.c index 2dc3f478e8..9ba76ee628 100644 --- a/coroutine/ucontext/Context.c +++ b/coroutine/ucontext/Context.c @@ -15,7 +15,7 @@ void coroutine_trampoline(void * _start, void * _context) { - coroutine_start start = _start; + coroutine_start start = (coroutine_start)_start; struct coroutine_context * context = _context; start(context->from, context); |