fix warnings
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 10 Jul 2010 11:09:40 +0000 (11:09 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 10 Jul 2010 11:09:40 +0000 (11:09 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50174 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore/ecore_thread.c

index 9e63d4b..53958dd 100644 (file)
@@ -607,10 +607,10 @@ ecore_long_run(void (*func_heavy)(Ecore_Thread *thread, void *data),
    worker.cancel = EINA_FALSE;
    worker.long_run = EINA_TRUE;
 
-   func_heavy((Ecore_Thread *) &worker, data);
+   func_heavy((Ecore_Thread *) &worker, (void *)data);
 
-   if (worker.cancel) func_cancel(data);
-   else func_end(data);
+   if (worker.cancel) func_cancel((void *)data);
+   else func_end((void *)data);
 
    return NULL;
 #endif