summaryrefslogtreecommitdiff
path: root/tests/cancel4.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cancel4.c')
-rw-r--r--tests/cancel4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cancel4.c b/tests/cancel4.c
index f63241f..d4b058c 100644
--- a/tests/cancel4.c
+++ b/tests/cancel4.c
@@ -150,7 +150,7 @@ main()
* a return value of PTHREAD_CANCELED indicates that async
* cancelation occurred.
*/
- assert(pthread_join(t[i], (void *) &result) == 0);
+ assert(pthread_join(t[i], (void **) &result) == 0);
fail = (result == (int) PTHREAD_CANCELED);