diff options
Diffstat (limited to 'src/lib/frct.c')
-rw-r--r-- | src/lib/frct.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/frct.c b/src/lib/frct.c index 615d499c..7aaf037c 100644 --- a/src/lib/frct.c +++ b/src/lib/frct.c @@ -413,8 +413,7 @@ static int __frcti_window_wait(struct frcti * frcti, frcti->open = false; } - pthread_cleanup_push((void(*)(void *))pthread_mutex_unlock, - (void *) &frcti->mtx); + pthread_cleanup_push(__cleanup_mutex_unlock, &frcti->mtx); ret = -pthread_cond_timedwait(&frcti->cond, &frcti->mtx, |