gthr-posix95.h (__gthread_cond_wait_recursive): Add missing &.
authorTom G. Christensen <tgc@jupiterrise.com>
Sun, 6 Apr 2008 09:57:49 +0000 (09:57 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 6 Apr 2008 09:57:49 +0000 (09:57 +0000)
* gthr-posix95.h (__gthread_cond_wait_recursive): Add missing &.

From-SVN: r133955

gcc/ChangeLog
gcc/gthr-posix95.h

index 56c8a94..51f91af 100644 (file)
@@ -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
index 625f799..b633281 100644 (file)
@@ -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 */