From d7d7db8b40e645ae15a530348b55d2b11a7d3135 Mon Sep 17 00:00:00 2001 From: "Tom G. Christensen" Date: Sun, 6 Apr 2008 09:57:49 +0000 Subject: [PATCH] gthr-posix95.h (__gthread_cond_wait_recursive): Add missing &. * gthr-posix95.h (__gthread_cond_wait_recursive): Add missing &. From-SVN: r133955 --- gcc/ChangeLog | 4 ++++ gcc/gthr-posix95.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 56c8a9407f5..51f91afc017 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-04-06 Tom G. Christensen + + * gthr-posix95.h (__gthread_cond_wait_recursive): Add missing &. + 2008-04-05 Uros Bizjak PR target/12329 diff --git a/gcc/gthr-posix95.h b/gcc/gthr-posix95.h index 625f799e8fc..b6332816c99 100644 --- a/gcc/gthr-posix95.h +++ b/gcc/gthr-posix95.h @@ -750,7 +750,7 @@ static inline int __gthread_cond_wait_recursive (__gthread_cond_t *cond, __gthread_recursive_mutex_t *mutex) { - return __gthrw_(pthread_cond_wait) (cond, mutex->actual); + return __gthrw_(pthread_cond_wait) (cond, &mutex->actual); } #endif /* _LIBOBJC */ -- 2.30.2