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