diff options
Diffstat (limited to 'tests/join0.c')
-rw-r--r-- | tests/join0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/join0.c b/tests/join0.c index cd481ee..54b0bee 100644 --- a/tests/join0.c +++ b/tests/join0.c @@ -26,7 +26,7 @@ main(int argc, char * argv[]) /* Create a single thread and wait for it to exit. */ assert(pthread_create(&id, NULL, func, (void *) 123) == 0); - assert(pthread_join(id, (void *) &result) == 0); + assert(pthread_join(id, (void **) &result) == 0); #if ! defined (__MINGW32__) || defined (__MSVCRT__) assert(result == 123); |