cedric pushed a commit to branch master.

commit 8dedcfae2c2dcc50f8ae707adc17c7a2875c7059
Author: Cedric Bail <[email protected]>
Date:   Sun Mar 10 17:51:06 2013 +0100

    Fix warnings
---
 src/lib/ecore/ecore_thread.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/ecore/ecore_thread.c b/src/lib/ecore/ecore_thread.c
index 53da07a..a89e247 100644
--- a/src/lib/ecore/ecore_thread.c
+++ b/src/lib/ecore/ecore_thread.c
@@ -420,7 +420,7 @@ _ecore_direct_worker(Ecore_Pthread_Worker *work)
    ecore_main_loop_thread_safe_call_async(_ecore_thread_handler, work);
 
    ecore_main_loop_thread_safe_call_async((Ecore_Cb) _ecore_thread_join, 
-                                         (void*) PHS());
+                                         (void*)(intptr_t)PHS());
 
    return NULL;
 }
@@ -458,7 +458,7 @@ restart:
    _ecore_thread_count--;
 
    ecore_main_loop_thread_safe_call_async((Ecore_Cb) _ecore_thread_join,
-                                         (void*) PHS());
+                                         (void*)(intptr_t)PHS());
    LKU(_ecore_pending_job_threads_mutex);
 
    return NULL;

-- 

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev

Reply via email to