summaryrefslogtreecommitdiff
path: root/tests/delay2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/delay2.c')
-rw-r--r--tests/delay2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/delay2.c b/tests/delay2.c
index 2551336..071b837 100644
--- a/tests/delay2.c
+++ b/tests/delay2.c
@@ -74,7 +74,7 @@ main(int argc, char * argv[])
assert(pthread_mutex_unlock(&mx) == 0);
- assert(pthread_join(t, (void *) &result) == 0);
+ assert(pthread_join(t, &result) == 0);
assert(result == (void*)PTHREAD_CANCELED);
return 0;