From 14513477b95a4dccf75469005884b0ebae235268 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Sat, 19 Dec 2009 11:43:44 +0000 Subject: [PATCH] fix warnings and returned value when no pthread SVN revision: 44569 --- legacy/ecore/src/lib/ecore/ecore_thread.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 } -- 2.7.4