From: Vincent Torri Date: Sat, 19 Dec 2009 11:43:44 +0000 (+0000) Subject: fix warnings and returned value when no pthread X-Git-Tag: submit/devel/efl/20131022.203902~14609 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=14513477b95a4dccf75469005884b0ebae235268;p=platform%2Fupstream%2Fefl.git fix warnings and returned value when no pthread SVN revision: 44569 --- diff --git a/legacy/ecore/src/lib/ecore/ecore_thread.c b/legacy/ecore/src/lib/ecore/ecore_thread.c index 86cab99..e4498e5 100644 --- a/legacy/ecore/src/lib/ecore/ecore_thread.c +++ b/legacy/ecore/src/lib/ecore/ecore_thread.c @@ -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 facility, we will lock the interface until we are done. */ - func_heavy(data); - func_end(data); + func_heavy((void *)data); + func_end((void *)data); - return EINA_TRUE; + return NULL; #endif }