mirror of
https://github.com/apache/nuttx.git
synced 2026-09-21 21:47:28 +08:00
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:
committed by
Xiang Xiao
parent
da92258333
commit
b628d92e63
+1
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user