From: Enlightenment S. <no-...@en...> - 2011-10-31 23:45:13
|
Log: Eina: init TLS key... Author: caro Date: 2011-10-31 16:45:07 -0700 (Mon, 31 Oct 2011) New Revision: 64589 Trac: http://trac.enlightenment.org/e/changeset/64589 Modified: trunk/eina/src/include/eina_inline_lock_win32.x Modified: trunk/eina/src/include/eina_inline_lock_win32.x =================================================================== --- trunk/eina/src/include/eina_inline_lock_win32.x 2011-10-31 23:26:24 UTC (rev 64588) +++ trunk/eina/src/include/eina_inline_lock_win32.x 2011-10-31 23:45:07 UTC (rev 64589) @@ -438,7 +438,7 @@ static inline Eina_Bool eina_tls_new(Eina_TLS *key) { - if (TlsAlloc() == TLS_OUT_OF_INDEXES) + if ((*key = TlsAlloc()) == TLS_OUT_OF_INDEXES) return EINA_FALSE; return EINA_TRUE; } |