summaryrefslogtreecommitdiff
path: root/pthread_cancel.c
diff options
context:
space:
mode:
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);
}