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