From e470da85f7b9426eea03d66086c2822bf29e9b05 Mon Sep 17 00:00:00 2001 From: rpj Date: Thu, 3 Mar 2011 23:37:20 +0000 Subject: Some cleanups, mostly x86_64 compat plus interlocked macros --- ptw32_throw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ptw32_throw.c') 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; } -- cgit v1.2.3