diff options
Diffstat (limited to 'pthread_exit.c')
-rw-r--r-- | pthread_exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread_exit.c b/pthread_exit.c index e707f07..a3f7a03 100644 --- a/pthread_exit.c +++ b/pthread_exit.c @@ -89,7 +89,7 @@ pthread_exit (void *value_ptr) */ #if ! defined (__MINGW32__) || defined (__MSVCRT__) || defined (__DMC__) - _endthreadex ((unsigned) value_ptr); + _endthreadex ((unsigned) (size_t) value_ptr); #else _endthread (); #endif |