include/threads: Fix incompatible pointer type on call to pthread_join
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
parent
da92258333
commit
b628d92e63
@ -159,7 +159,7 @@ typedef CODE void (*tss_dtor_t)(FAR void *);
|
||||
|
||||
static inline int thrd_join(thrd_t thr, int *res)
|
||||
{
|
||||
pthread_addr_t *value;
|
||||
pthread_addr_t value;
|
||||
int ret = pthread_join(thr, &value);
|
||||
if (res)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user