summaryrefslogtreecommitdiff
path: root/tests/condvar1_2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/condvar1_2.c')
-rw-r--r--tests/condvar1_2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/condvar1_2.c b/tests/condvar1_2.c
index b985c5d..3d961f0 100644
--- a/tests/condvar1_2.c
+++ b/tests/condvar1_2.c
@@ -116,7 +116,7 @@ main()
}
while (j > 0);
- assert(pthread_join(t, (void *) &result) == 0);
+ assert(pthread_join(t, &result) == 0);
assert ((int)(size_t)result == 0);
}