From 2073c9abdc6d851d47bc405abfe2cbb4ecc73529 Mon Sep 17 00:00:00 2001 From: Paul Ferrand Date: Tue, 17 Dec 2019 18:48:19 +0100 Subject: [PATCH] Wrap the boolean function in parens --- lv2/sfizz.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lv2/sfizz.c b/lv2/sfizz.c index 6f93b915..7e8e9083 100644 --- a/lv2/sfizz.c +++ b/lv2/sfizz.c @@ -675,9 +675,9 @@ run(LV2_Handle instance, uint32_t sample_count) LV2_Atom atom; atom.type = self->sfizz_log_status_uri; atom.size = 0; - if (!self->worker->schedule_work(self->worker->handle, + if (!(self->worker->schedule_work(self->worker->handle, lv2_atom_total_size((LV2_Atom *)&atom), - &atom) == LV2_WORKER_SUCCESS) + &atom) == LV2_WORKER_SUCCESS)) { lv2_log_error(&self->logger, "[sfizz] There was an issue sending a logging message to the background worker"); }