diff options
author | David Robillard <d@drobilla.net> | 2020-12-16 16:52:16 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-16 16:52:16 +0100 |
commit | ebd7d6fd1b8353ada9e3bfd6921b6dc834e7c46f (patch) | |
tree | 77e70a6fe0035bdbf1c5f3a843e0f624f2515548 | |
parent | c8713e92312ef140ea8576031769cdad10b30946 (diff) | |
download | lv2-ebd7d6fd1b8353ada9e3bfd6921b6dc834e7c46f.tar.xz |
Avoid clang-tidy warning about sizeof
-rw-r--r-- | plugins/eg-sampler.lv2/sampler.c | 2 |
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); } } |