summaryrefslogtreecommitdiff
path: root/tests/join2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/join2.c')
-rw-r--r--tests/join2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/join2.c b/tests/join2.c
index 8b1636c..cdc8ca2 100644
--- a/tests/join2.c
+++ b/tests/join2.c
@@ -28,7 +28,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__)
/* CRTDLL _beginthread doesn't support return value, so
the assertion is guaranteed to fail. */