summaryrefslogtreecommitdiff
path: root/tests/rwlock6.c
diff options
context:
space:
mode:
authorrpj <rpj>2011-03-04 08:03:46 +0000
committerrpj <rpj>2011-03-04 08:03:46 +0000
commite1de8e3c33257b4e7d6b98767a67414efc31b6c7 (patch)
tree1942d5037d1cf5077c62f2dce89cf60cd9f96399 /tests/rwlock6.c
parente470da85f7b9426eea03d66086c2822bf29e9b05 (diff)
Casting fixups
Diffstat (limited to 'tests/rwlock6.c')
-rw-r--r--tests/rwlock6.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rwlock6.c b/tests/rwlock6.c
index 22d10db..9679d46 100644
--- a/tests/rwlock6.c
+++ b/tests/rwlock6.c
@@ -89,9 +89,9 @@ main()
Sleep(500);
assert(pthread_create(&wrt2, NULL, wrfunc, NULL) == 0);
- assert(pthread_join(wrt1, (void **) &wr1Result) == 0);
- assert(pthread_join(rdt, (void **) &rdResult) == 0);
- assert(pthread_join(wrt2, (void **) &wr2Result) == 0);
+ assert(pthread_join(wrt1, (void *) &wr1Result) == 0);
+ assert(pthread_join(rdt, (void *) &rdResult) == 0);
+ assert(pthread_join(wrt2, (void *) &wr2Result) == 0);
assert(wr1Result == 10);
assert(rdResult == 10);