summaryrefslogtreecommitdiff
path: root/pthread
diff options
context:
space:
mode:
Diffstat (limited to 'pthread')
-rw-r--r--pthread/pt-alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread/pt-alloc.c b/pthread/pt-alloc.c
index dd9760d..615b728 100644
--- a/pthread/pt-alloc.c
+++ b/pthread/pt-alloc.c
@@ -70,7 +70,7 @@ initialize_pthread (struct __pthread *new, int recycling)
new->stack = 0;
new->state_lock = (struct __pthread_mutex) PTHREAD_MUTEX_INITIALIZER;
- new->state_cond = PTHREAD_COND_INITIALIZER;
+ new->state_cond = (struct __pthread_cond) PTHREAD_COND_INITIALIZER;
new->cancelation_handlers = 0;