From ec8290acdaea21b16d98f1ef5d4ae8a28ab2109a Mon Sep 17 00:00:00 2001 From: rpj Date: Wed, 3 Nov 2004 01:08:41 +0000 Subject: Mutex, semaphore, thread ID, test suite changes - see ChangeLogs --- pthread_getw32threadhandle_np.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pthread_getw32threadhandle_np.c') diff --git a/pthread_getw32threadhandle_np.c b/pthread_getw32threadhandle_np.c index fcf1288..9ac81a7 100644 --- a/pthread_getw32threadhandle_np.c +++ b/pthread_getw32threadhandle_np.c @@ -49,5 +49,5 @@ HANDLE pthread_getw32threadhandle_np (pthread_t thread) { - return (thread != NULL) ? (thread->threadH) : 0; + return ((ptw32_thread_t *)thread.p)->threadH; } -- cgit v1.2.3