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-params.lv2/params.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/eg-params.lv2') diff --git a/plugins/eg-params.lv2/params.c b/plugins/eg-params.lv2/params.c index af96fc8..742c48b 100644 --- a/plugins/eg-params.lv2/params.c +++ b/plugins/eg-params.lv2/params.c @@ -320,7 +320,7 @@ save(LV2_Handle instance, LV2_State_Status st = LV2_STATE_SUCCESS; for (unsigned i = 0; i < N_PROPS; ++i) { - StateMapItem* prop = &self->props[i]; + const StateMapItem* prop = &self->props[i]; store_prop(self, map_path, &st, store, handle, prop->urid, prop->value); } -- cgit v1.2.1