summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-07 14:33:27 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 11:43:59 +0000
commitf80b8979ba11ade8e5c9365d4464eebc57cd50c3 (patch)
tree09d300d7f094684e0f73cf28006d313809e370bb /src/lib/ecore
parent03a919d6e0ece2b9c02526e1742fefd07aa25c7a (diff)
ecore thread - fix warn - callback prototypes to match correct type
we pass void *'s to these cb's not int's or thread handled (whatever typt they may be). so cast inside func not use wrong type.
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/ecore_thread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ecore/ecore_thread.c b/src/lib/ecore/ecore_thread.c
index 8c95dd96da..eef9d3d930 100644
--- a/src/lib/ecore/ecore_thread.c
+++ b/src/lib/ecore/ecore_thread.c
@@ -214,8 +214,9 @@ _ecore_thread_data_free(void *data)
214} 214}
215 215
216void 216void
217_ecore_thread_join(PH(thread)) 217_ecore_thread_join(void *data)
218{ 218{
219 PH(thread) = (uintptr_t)data;
219 DBG("joining thread=%" PRIu64, (uint64_t)thread); 220 DBG("joining thread=%" PRIu64, (uint64_t)thread);
220 PHJ(thread); 221 PHJ(thread);
221} 222}