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.
This commit is contained in:
Carsten Haitzler 2018-11-07 14:33:27 +00:00
parent 03a919d6e0
commit f80b8979ba
1 changed files with 2 additions and 1 deletions

View File

@ -214,8 +214,9 @@ _ecore_thread_data_free(void *data)
}
void
_ecore_thread_join(PH(thread))
_ecore_thread_join(void *data)
{
PH(thread) = (uintptr_t)data;
DBG("joining thread=%" PRIu64, (uint64_t)thread);
PHJ(thread);
}