diff options
Diffstat (limited to 'nuttx/examples/ostest/timedwait.c')
-rw-r--r-- | nuttx/examples/ostest/timedwait.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/examples/ostest/timedwait.c b/nuttx/examples/ostest/timedwait.c index af2fd2551..81e7c4a61 100644 --- a/nuttx/examples/ostest/timedwait.c +++ b/nuttx/examples/ostest/timedwait.c @@ -95,7 +95,7 @@ static void *thread_waiter(void *parameter) } printf("thread_waiter: Exit with status 0x12345678\n"); - pthread_exit((void*)0x12345678); + pthread_exit((pthread_addr_t)0x12345678); return NULL; } |