diff options
author | root <root> | 2003-03-22 23:08:40 +0000 |
---|---|---|
committer | root <root> | 2003-03-22 23:08:40 +0000 |
commit | fc4ac01f01ba9b2c04c7c44a04a8a3e67185cc7e (patch) | |
tree | 180a27e36550e6e3fd2ea40571ccd00063b66836 | |
parent | 500d919f696bc1eb53089c32a258bc5f053277fc (diff) |
*** empty log message ***
-rw-r--r-- | coro.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |