summaryrefslogtreecommitdiff
path: root/tests/rwlock6.c
diff options
context:
space:
mode:
authorrpj <rpj>2011-03-06 15:01:05 +0000
committerrpj <rpj>2011-03-06 15:01:05 +0000
commita39dab139b7c301ffd5a5592c292123c54e686cd (patch)
tree73aeb7a868f7c075de9ec43344d17d21f99763f9 /tests/rwlock6.c
parent1183e5acfa10c7bda1dc39034d6e2fa6dec6016f (diff)
More 64 bit cast 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 8861823..0ac6b27 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, &wr1Result) == 0);
+ assert(pthread_join(rdt, &rdResult) == 0);
+ assert(pthread_join(wrt2, &wr2Result) == 0);
assert((int)(size_t)wr1Result == 10);
assert((int)(size_t)rdResult == 10);