--- libcoro/coro.c 2001/07/23 22:09:39 1.2 +++ libcoro/coro.c 2001/07/23 22:16:38 1.3 @@ -48,7 +48,7 @@ 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 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++;