summaryrefslogtreecommitdiff
path: root/pthread_cancel.c
diff options
context:
space:
mode:
authorrpj <rpj>2011-03-03 23:37:20 +0000
committerrpj <rpj>2011-03-03 23:37:20 +0000
commite470da85f7b9426eea03d66086c2822bf29e9b05 (patch)
treeb3747768258dc62752612327904be1f1067d5c7f /pthread_cancel.c
parent1170175259781ece4a8d99d517230f4b9ecb7b50 (diff)
Some cleanups, mostly x86_64 compat plus interlocked macros
Diffstat (limited to 'pthread_cancel.c')
-rw-r--r--pthread_cancel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread_cancel.c b/pthread_cancel.c
index de2c5a9..8ef2a11 100644
--- a/pthread_cancel.c
+++ b/pthread_cancel.c
@@ -157,7 +157,7 @@ pthread_cancel (pthread_t thread)
* this will result in a call to ptw32_RegisterCancelation and only
* the threadH arg will be used.
*/
- ptw32_register_cancelation (ptw32_cancel_callback, threadH, 0);
+ ptw32_register_cancelation ((PAPCFUNC)ptw32_cancel_callback, threadH, 0);
(void) pthread_mutex_unlock (&tp->cancelLock);
ResumeThread (threadH);
}