diff options
Diffstat (limited to 'pthread_mutex_init.c')
-rw-r--r-- | pthread_mutex_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread_mutex_init.c b/pthread_mutex_init.c index 0709690..4a6a47b 100644 --- a/pthread_mutex_init.c +++ b/pthread_mutex_init.c @@ -84,7 +84,7 @@ pthread_mutex_init (pthread_mutex_t * mutex, const pthread_mutexattr_t * attr) mx->recursive_count = 0; mx->kind = (attr == NULL || *attr == NULL ? PTHREAD_MUTEX_DEFAULT : (*attr)->kind); - mx->ownerThread = NULL; + mx->ownerThread.p = NULL; mx->event = CreateEvent (NULL, PTW32_FALSE, /* manual reset = No */ PTW32_FALSE, /* initial state = not signaled */ |