diff options
author | David Robillard <d@drobilla.net> | 2024-10-06 13:57:47 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-10-06 13:57:47 -0400 |
commit | 5309d0fcc9ef1a01ce9d0e3631ae45eb86a28740 (patch) | |
tree | d4b73d4903b3a196a365968a1ab3d3a9ed9849f4 /plugins/eg-sampler.lv2/sampler.c | |
parent | 447b44c67368a4e1686d1db2688e5624a63cd0f4 (diff) | |
download | lv2-5309d0fcc9ef1a01ce9d0e3631ae45eb86a28740.tar.xz |
Add missing const qualifiers
Diffstat (limited to 'plugins/eg-sampler.lv2/sampler.c')
-rw-r--r-- | plugins/eg-sampler.lv2/sampler.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/eg-sampler.lv2/sampler.c b/plugins/eg-sampler.lv2/sampler.c index d2d480d..4c5a92a 100644 --- a/plugins/eg-sampler.lv2/sampler.c +++ b/plugins/eg-sampler.lv2/sampler.c @@ -249,9 +249,9 @@ work(LV2_Handle instance, static LV2_Worker_Status work_response(LV2_Handle instance, uint32_t size, const void* data) { - Sampler* self = (Sampler*)instance; - Sample* old_sample = self->sample; - Sample* new_sample = *(Sample* const*)data; + Sampler* self = (Sampler*)instance; + Sample* old_sample = self->sample; + const Sample* new_sample = *(Sample* const*)data; // Install the new sample self->sample = *(Sample* const*)data; |