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 575ffbd..62317b3 100644
--- a/tests/cleanup3.c
+++ b/tests/cleanup3.c
@@ -185,7 +185,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);