aboutsummaryrefslogtreecommitdiff
path: root/pthreads/tests/exit5.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthreads/tests/exit5.c')
-rw-r--r--pthreads/tests/exit5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pthreads/tests/exit5.c b/pthreads/tests/exit5.c
index 450ed3bea..ac98f996c 100644
--- a/pthreads/tests/exit5.c
+++ b/pthreads/tests/exit5.c
@@ -63,7 +63,7 @@
*
* Assumptions:
* - have working pthread_create, pthread_self, pthread_mutex_lock/unlock
- * pthread_testcancel, pthread_cancel, pthread_join
+ * pthread_testcancel, pthread_cancel
*
* Pass Criteria:
* - Process returns zero exit status.
@@ -115,7 +115,7 @@ Win32thread(void * arg)
/*
* Doesn't return.
*/
- pthread_exit((void *) result);
+ pthread_exit((void *)(size_t)result);
return 0;
}