summaryrefslogtreecommitdiff
path: root/tests/cleanup3.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cleanup3.c')
-rw-r--r--tests/cleanup3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cleanup3.c b/tests/cleanup3.c
index 4f05eea..56b1a8f 100644
--- a/tests/cleanup3.c
+++ b/tests/cleanup3.c
@@ -138,7 +138,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);