diff options
Diffstat (limited to 'tests/rwlock6.c')
-rw-r--r-- | tests/rwlock6.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rwlock6.c b/tests/rwlock6.c index 38bc419..7daccd7 100644 --- a/tests/rwlock6.c +++ b/tests/rwlock6.c @@ -53,9 +53,9 @@ main() Sleep(200); assert(pthread_create(&wrt2, NULL, wrfunc, NULL) == 0); - assert(pthread_join(wrt1, (void *) &wr1Result) == 0); - assert(pthread_join(wrt2, (void *) &wr2Result) == 0); - assert(pthread_join(rdt, (void *) &rdResult) == 0); + assert(pthread_join(wrt1, (void **) &wr1Result) == 0); + assert(pthread_join(wrt2, (void **) &wr2Result) == 0); + assert(pthread_join(rdt, (void **) &rdResult) == 0); assert(wr1Result == 10); assert(wr2Result == 20); |