diff options
author | root <root> | 2001-07-23 22:16:38 +0000 |
---|---|---|
committer | root <root> | 2001-07-23 22:16:38 +0000 |
commit | 51892b0d79d391a11276d1020e7c1ec91b6a05a4 (patch) | |
tree | 5db875e64b5d5d6c8ef184031f3ddb6972c1e1ce | |
parent | c0eb24d7d01d618ad5631b80e34a37ada2df3d73 (diff) |
*** empty log message ***
-rw-r--r-- | coro.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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++; |