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:
Gustavo Henrique Nihei
2021-08-31 11:21:22 +08:00
committed by Xiang Xiao
parent da92258333
commit b628d92e63
+1 -1
View File
@@ -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)
{