aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/gthr-posix95.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 56c8a94..51f91af 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-06 Tom G. Christensen <tgc@jupiterrise.com>
+
+ * gthr-posix95.h (__gthread_cond_wait_recursive): Add missing &.
+
2008-04-05 Uros Bizjak <ubizjak@gmail.com>
PR target/12329
diff --git a/gcc/gthr-posix95.h b/gcc/gthr-posix95.h
index 625f799..b633281 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 */