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 fa32b69..67037c2 100644
--- a/tests/cleanup2.c
+++ b/tests/cleanup2.c
@@ -180,7 +180,7 @@ main()
int fail = 0;
void* result = (void*)0;
- assert(pthread_join(t[i], (void *) &result) == 0);
+ assert(pthread_join(t[i], &result) == 0);
fail = ((int)(size_t)result != 0);