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 c29e5e6..8cc80e5 100644
--- a/tests/join1.c
+++ b/tests/join1.c
@@ -37,7 +37,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], (void **) &result) == 0);
#if ! defined (__MINGW32__) || defined (__MSVCRT__)
assert(result == i);
#else