diff options
Diffstat (limited to 'pthread')
-rw-r--r-- | pthread/pt-alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread/pt-alloc.c b/pthread/pt-alloc.c index 5cdc85d..7c15fe1 100644 --- a/pthread/pt-alloc.c +++ b/pthread/pt-alloc.c @@ -69,7 +69,7 @@ initialize_pthread (struct __pthread *new, int recycling) new->stack = 0; - new->state_lock = PTHREAD_MUTEX_INITIALIZER; + new->state_lock = (struct __pthread_mutex) PTHREAD_MUTEX_INITIALIZER; new->state_cond = PTHREAD_COND_INITIALIZER; new->cancelation_handlers = 0; |