summaryrefslogtreecommitdiff
path: root/tests/join0.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/join0.c')
-rw-r--r--tests/join0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/join0.c b/tests/join0.c
index 3519f53..d888e9d 100644
--- a/tests/join0.c
+++ b/tests/join0.c
@@ -58,7 +58,7 @@ main(int argc, char * argv[])
/* Create a single thread and wait for it to exit. */
assert(pthread_create(&id, NULL, func, (void *) 123) == 0);
- assert(pthread_join(id, (void *) &result) == 0);
+ assert(pthread_join(id, &result) == 0);
assert((int)(size_t)result == 123);