From ebd7d6fd1b8353ada9e3bfd6921b6dc834e7c46f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 16 Dec 2020 16:52:16 +0100 Subject: Avoid clang-tidy warning about sizeof --- plugins/eg-sampler.lv2/sampler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/eg-sampler.lv2/sampler.c b/plugins/eg-sampler.lv2/sampler.c index 341f412..d4d2aa9 100644 --- a/plugins/eg-sampler.lv2/sampler.c +++ b/plugins/eg-sampler.lv2/sampler.c @@ -189,7 +189,7 @@ work(LV2_Handle instance, Sample* sample = load_sample(&self->logger, path); if (sample) { // Send new sample to run() to be applied - respond(handle, sizeof(sample), &sample); + respond(handle, sizeof(Sample*), &sample); } } -- cgit v1.2.1