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 56c8a9407f56f103e4122e896858e3bbf8cfc857..51f91afc0179ab7cafe9e1293a2d4bca07f85b61 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 625f799e8fc04665e20026ecadda38f0945c2aa3..b6332816c998232140194aace0f762b589955781 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 */