From dad981029a145d7a8854124a558d66a68675ce1f Mon Sep 17 00:00:00 2001 From: Mikael Djurfeldt Date: Mon, 16 Dec 2002 21:02:37 +0000 Subject: [PATCH] Fix... --- libguile/pthread-threads.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libguile/pthread-threads.c b/libguile/pthread-threads.c index 8aa0e6fca..1e456e788 100644 --- a/libguile/pthread-threads.c +++ b/libguile/pthread-threads.c @@ -147,16 +147,16 @@ int scm_i_plugin_cond_wait (scm_t_cond *c, scm_t_mutex *mx) { mutex *m = (mutex *) mx; - return pthread_cond_wait ((pthread_cond_t *) c, m->mutex); + return pthread_cond_wait ((pthread_cond_t *) c, &m->mutex); } int -scm_i_plugin_cond_wait (scm_t_cond *c, +scm_i_plugin_cond_timedwait (scm_t_cond *c, scm_t_mutex *mx, const struct timespec *t) { mutex *m = (mutex *) mx; - return pthread_cond_timedwait ((pthread_cond_t *) c, m->mutex, t); + return pthread_cond_timedwait ((pthread_cond_t *) c, &m->mutex, t); } #endif