From c3973648250aeb062d7d99a71257e2287c18a1ae Mon Sep 17 00:00:00 2001 From: rpj Date: Fri, 1 Jul 2011 09:33:35 +0000 Subject: See the ChangeLog --- pthread_win32_attach_detach_np.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pthread_win32_attach_detach_np.c') diff --git a/pthread_win32_attach_detach_np.c b/pthread_win32_attach_detach_np.c index c3ff0a2..bd52a7f 100644 --- a/pthread_win32_attach_detach_np.c +++ b/pthread_win32_attach_detach_np.c @@ -213,7 +213,7 @@ pthread_win32_thread_detach_np () pthread_mutex_t mx = sp->robustMxList->mx; ptw32_robust_mutex_remove(&mx, sp); (void) PTW32_INTERLOCKED_EXCHANGE_LONG( - (PTW32_INTERLOCKED_PTR)&mx->robustNode->stateInconsistent, + (PTW32_INTERLOCKED_LONGPTR)&mx->robustNode->stateInconsistent, (PTW32_INTERLOCKED_LONG)-1); /* * If there are no waiters then the next thread to block will -- cgit v1.2.3