summaryrefslogtreecommitdiff
path: root/tests/cancel2.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/cancel2.c
parent1183e5acfa10c7bda1dc39034d6e2fa6dec6016f (diff)
More 64 bit cast fixups
Diffstat (limited to 'tests/cancel2.c')
-rw-r--r--tests/cancel2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cancel2.c b/tests/cancel2.c
index 4669a28..d7c7f86 100644
--- a/tests/cancel2.c
+++ b/tests/cancel2.c
@@ -219,7 +219,7 @@ main()
int fail = 0;
void* result = (void*)0;
- assert(pthread_join(t[i], (void *) &result) == 0);
+ assert(pthread_join(t[i], &result) == 0);
fail = ((int)(size_t)result != (int) PTHREAD_CANCELED);
if (fail)
{