From 5309d0fcc9ef1a01ce9d0e3631ae45eb86a28740 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 6 Oct 2024 13:57:47 -0400 Subject: Add missing const qualifiers --- plugins/eg-sampler.lv2/sampler_ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/eg-sampler.lv2/sampler_ui.c') diff --git a/plugins/eg-sampler.lv2/sampler_ui.c b/plugins/eg-sampler.lv2/sampler_ui.c index 16a8c71..fc879eb 100644 --- a/plugins/eg-sampler.lv2/sampler_ui.c +++ b/plugins/eg-sampler.lv2/sampler_ui.c @@ -421,7 +421,7 @@ ui_hide(LV2UI_Handle handle) static int ui_idle(LV2UI_Handle handle) { - SamplerUI* ui = (SamplerUI*)handle; + const SamplerUI* ui = (const SamplerUI*)handle; if (ui->window) { gtk_main_iteration_do(false); } -- cgit v1.2.1