diff options
Diffstat (limited to 'tests/cancel6d.c')
-rw-r--r-- | tests/cancel6d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cancel6d.c b/tests/cancel6d.c index d0ad7ac..bf770d2 100644 --- a/tests/cancel6d.c +++ b/tests/cancel6d.c @@ -109,7 +109,7 @@ mythread(void * arg) pthread_testcancel(); } - return (void *) result; + return (void *) (size_t)result; } int @@ -167,7 +167,7 @@ main() int fail = 0; int result = 0; - assert(pthread_join(t[i], (void **) &result) == 0); + assert(pthread_join(t[i], (void *) &result) == 0); fail = (result != (int) PTHREAD_CANCELED); |