aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-16 16:52:16 +0100
committerDavid Robillard <d@drobilla.net>2020-12-16 16:52:16 +0100
commitebd7d6fd1b8353ada9e3bfd6921b6dc834e7c46f (patch)
tree77e70a6fe0035bdbf1c5f3a843e0f624f2515548
parentc8713e92312ef140ea8576031769cdad10b30946 (diff)
downloadlv2-ebd7d6fd1b8353ada9e3bfd6921b6dc834e7c46f.tar.xz
Avoid clang-tidy warning about sizeof
-rw-r--r--plugins/eg-sampler.lv2/sampler.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}