summaryrefslogtreecommitdiff
path: root/tests/semaphore4.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/semaphore4.c')
-rw-r--r--tests/semaphore4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/semaphore4.c b/tests/semaphore4.c
index 37613ac..c2fc948 100644
--- a/tests/semaphore4.c
+++ b/tests/semaphore4.c
@@ -114,7 +114,7 @@ main()
assert(pthread_cancel(t[50]) == 0);
{
int result;
- assert(pthread_join(t[50], (void **) &result) == 0);
+ assert(pthread_join(t[50], (void *) &result) == 0);
// printf("result = %d\n", result); fflush(stdout);
}
assert(sem_getvalue(&s, &value) == 0);