From ce4ea956d24eab5089a143bba38126f2b11b55b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= Date: Fri, 31 Jan 2020 15:53:03 +0900 Subject: function pointers are not void* The same as 8427fca49bd85205f5a8766292dd893f003c0e48. --- coroutine/ucontext/Context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coroutine') 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); -- cgit v1.2.1