cedric pushed a commit to branch master.

commit 05f7761d5febd6db4a610c371cb15b0bb9447532
Author: Cedric BAIL <[email protected]>
Date:   Mon Mar 4 10:03:59 2013 +0900

    ecore: fix build with setjmp.
---
 src/lib/ecore/ecore_coroutine.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/ecore/ecore_coroutine.c b/src/lib/ecore/ecore_coroutine.c
index 676141f..5afd20e 100644
--- a/src/lib/ecore/ecore_coroutine.c
+++ b/src/lib/ecore/ecore_coroutine.c
@@ -117,8 +117,8 @@ _ecore_coroutine_setjmp(Ecore_Coroutine *coro)
    /* The idea of this trick come from libcoroutine */
    /* __jmpbuf[6] == stack pointer */
    /* __jmpbuf[7] == program counter */
-   self->env[0].__jmpbuf[6] = ((uintptr_t)(&coro->stack));
-   self->env[0].__jmpbuf[7] = ((uintptr_t)_ecore_coroutine_entry_point);
+   coro->context->env[0].__jmpbuf[6] = ((uintptr_t)(&coro->stack));
+   coro->context->env[0].__jmpbuf[7] = 
((uintptr_t)_ecore_coroutine_entry_point);
 }
 # endif
 #endif

-- 

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb

Reply via email to