summaryrefslogtreecommitdiff
path: root/tests/cleanup2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cleanup2.c')
-rw-r--r--tests/cleanup2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cleanup2.c b/tests/cleanup2.c
index 515f676..6d07d53 100644
--- a/tests/cleanup2.c
+++ b/tests/cleanup2.c
@@ -135,7 +135,7 @@ main()
int fail = 0;
int result = 0;
- assert(pthread_join(t[i], (void *) &result) == 0);
+ assert(pthread_join(t[i], (void **) &result) == 0);
fail = (result != 0);