summaryrefslogtreecommitdiff
path: root/tests/join1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/join1.c')
-rw-r--r--tests/join1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/join1.c b/tests/join1.c
index 631b604..337af83 100644
--- a/tests/join1.c
+++ b/tests/join1.c
@@ -69,7 +69,7 @@ main(int argc, char * argv[])
for (i = 0; i < 4; i++)
{
- assert(pthread_join(id[i], (void *) &result) == 0);
+ assert(pthread_join(id[i], &result) == 0);
assert((int)(size_t)result == i);
}