summaryrefslogtreecommitdiff
path: root/tests/mutex6e.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mutex6e.c')
-rw-r--r--tests/mutex6e.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mutex6e.c b/tests/mutex6e.c
index dc6e853..3f28ee7 100644
--- a/tests/mutex6e.c
+++ b/tests/mutex6e.c
@@ -86,7 +86,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);