summaryrefslogtreecommitdiff
path: root/tests/cleanup0.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cleanup0.c')
-rw-r--r--tests/cleanup0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cleanup0.c b/tests/cleanup0.c
index c840afe..d9fbedc 100644
--- a/tests/cleanup0.c
+++ b/tests/cleanup0.c
@@ -191,7 +191,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 == (int) PTHREAD_CANCELED);