diff options
author | rpj <rpj> | 2011-03-03 23:37:20 +0000 |
---|---|---|
committer | rpj <rpj> | 2011-03-03 23:37:20 +0000 |
commit | e470da85f7b9426eea03d66086c2822bf29e9b05 (patch) | |
tree | b3747768258dc62752612327904be1f1067d5c7f /pthread_exit.c | |
parent | 1170175259781ece4a8d99d517230f4b9ecb7b50 (diff) |
Some cleanups, mostly x86_64 compat plus interlocked macros
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 |