Fix warnings
authorCedric Bail <cedric.bail@free.fr>
Sun, 10 Mar 2013 16:51:06 +0000 (17:51 +0100)
committerCedric BAIL <cedric.bail@samsung.com>
Mon, 11 Mar 2013 01:34:47 +0000 (10:34 +0900)
src/lib/ecore/ecore_thread.c

index 53da07a..a89e247 100644 (file)
@@ -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;