fix warnings and returned value when no pthread

SVN revision: 44569
This commit is contained in:
Vincent Torri 2009-12-19 11:43:44 +00:00
parent 9a29b1d15a
commit 14513477b9
1 changed files with 3 additions and 3 deletions

View File

@ -268,10 +268,10 @@ ecore_thread_run(void (*func_heavy)(void *data),
If no thread and as we don't want to break app that rely on this If no thread and as we don't want to break app that rely on this
facility, we will lock the interface until we are done. facility, we will lock the interface until we are done.
*/ */
func_heavy(data); func_heavy((void *)data);
func_end(data); func_end((void *)data);
return EINA_TRUE; return NULL;
#endif #endif
} }