Ecore_Thread: Avoid compiler warning
authorGuilherme Iscaro <iscaro@profusion.mobi>
Sun, 9 Oct 2016 16:51:53 +0000 (13:51 -0300)
committerGuilherme Iscaro <iscaro@profusion.mobi>
Mon, 10 Oct 2016 17:20:47 +0000 (14:20 -0300)
Use PRIuPTR to print the Eina_Thread handle.

src/lib/ecore/ecore_thread.c

index 0b8c4fe..74165e3 100644 (file)
@@ -473,7 +473,7 @@ _ecore_direct_worker(Ecore_Pthread_Worker *work)
 static void
 _ecore_thread_worker_cleanup(void *data EINA_UNUSED)
 {
-   DBG("cleanup thread=%" PRIu64 " (should join)", PHS());
+   DBG("cleanup thread=%" PRIuPTR " (should join)", PHS());
    SLKL(_ecore_pending_job_threads_mutex);
    _ecore_thread_count--;
    SLKU(_ecore_pending_job_threads_mutex);