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 --- pthread_cancel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pthread_cancel.c') 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); } -- cgit v1.2.3