diff options
Diffstat (limited to 'tests/condvar2_1.c')
-rw-r--r-- | tests/condvar2_1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/condvar2_1.c b/tests/condvar2_1.c index 7d938f8..7607abd 100644 --- a/tests/condvar2_1.c +++ b/tests/condvar2_1.c @@ -136,7 +136,7 @@ main() for (i = 1; i <= NUMTHREADS; i++) { - assert(pthread_join(t[i], (void *) &result) == 0); + assert(pthread_join(t[i], &result) == 0); assert((int)(size_t)result == i); } |