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 /ptw32_throw.c | |
parent | 1170175259781ece4a8d99d517230f4b9ecb7b50 (diff) |
Some cleanups, mostly x86_64 compat plus interlocked macros
Diffstat (limited to 'ptw32_throw.c')
-rw-r--r-- | ptw32_throw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ptw32_throw.c b/ptw32_throw.c index b276119..63f45f1 100644 --- a/ptw32_throw.c +++ b/ptw32_throw.c @@ -79,12 +79,12 @@ ptw32_throw (DWORD exception) switch (exception) { case PTW32_EPS_CANCEL: - exitCode = (unsigned) PTHREAD_CANCELED; + exitCode = (unsigned)(size_t) PTHREAD_CANCELED; break; case PTW32_EPS_EXIT: if (NULL != sp) { - exitCode = (unsigned) sp->exitStatus; + exitCode = (unsigned)(size_t) sp->exitStatus; } break; } |