From 51892b0d79d391a11276d1020e7c1ec91b6a05a4 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 23 Jul 2001 22:16:38 +0000 Subject: *** empty log message *** --- coro.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coro.c') diff --git a/coro.c b/coro.c index 4ff0b50..bc34ea7 100644 --- a/coro.c +++ b/coro.c @@ -48,7 +48,7 @@ coro_init (void) coro_transfer ((coro_context *)new_coro, (coro_context *)create_coro); - func (arg); + func ((void *)arg); /* the new coro returned. bad. just abort() for now */ abort (); @@ -63,7 +63,7 @@ static volatile int trampoline_count; static void trampoline(int sig) { - if (setjmp (&(((coro_context *)new_coro)->env))) + if (setjmp (((coro_context *)new_coro)->env)) coro_init (); /* start it */ else trampoline_count++; -- cgit v1.2.3