From fc4ac01f01ba9b2c04c7c44a04a8a3e67185cc7e Mon Sep 17 00:00:00 2001 From: root Date: Sat, 22 Mar 2003 23:08:40 +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 c48c888..1cae481 100644 --- a/coro.c +++ b/coro.c @@ -173,8 +173,8 @@ void coro_create(coro_context *ctx, setjmp (ctx->env); #if defined(__GLIBC__) && defined(__GLIBC_MINOR__) \ && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 0 && defined(JB_PC) && defined(JB_SP) - ctx->env[0].__jmpbuf[JB_PC] = (int)coro_init; - ctx->env[0].__jmpbuf[JB_SP] = (int)STACK_ADJUST_PTR (sptr,ssize); + ctx->env[0].__jmpbuf[JB_PC] = (long)coro_init; + ctx->env[0].__jmpbuf[JB_SP] = (long)STACK_ADJUST_PTR (sptr,ssize); #elif defined(__GLIBC__) && defined(__GLIBC_MINOR__) \ && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 0 && defined(__mc68000__) ctx->env[0].__jmpbuf[0].__aregs[0] = (long int)coro_init; -- cgit v1.2.3