summaryrefslogtreecommitdiff
path: root/exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'exit.c')
-rw-r--r--exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exit.c b/exit.c
index 5177e88..2d0cddd 100644
--- a/exit.c
+++ b/exit.c
@@ -37,7 +37,7 @@ pthread_exit (void *value_ptr)
* ------------------------------------------------------
*/
{
- _pthread_callUserDestroyRoutines(pthread_getspecific(_pthread_selfThreadKey));
+ _pthread_callUserDestroyRoutines((pthread_t) pthread_getspecific(_pthread_selfThreadKey));
_endthreadex ((unsigned) value_ptr);