summaryrefslogtreecommitdiff
path: root/tests/mutex6r.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mutex6r.c')
-rw-r--r--tests/mutex6r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mutex6r.c b/tests/mutex6r.c
index 85bb6bd..552f394 100644
--- a/tests/mutex6r.c
+++ b/tests/mutex6r.c
@@ -85,7 +85,7 @@ main()
assert(pthread_create(&t, NULL, locker, NULL) == 0);
- assert(pthread_join(t, (void *) &result) == 0);
+ assert(pthread_join(t, &result) == 0);
assert((int)(size_t)result == 555);
assert(lockCount == 2);