From 7c66d87c82ac6b06901e7cb39ed90db43bc4b053 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sat, 19 Mar 2022 14:55:30 -0700 Subject: *: de-constify til_setting_t throughout Now that til_setting_t.desc is not only a thing, but a thing that is intended to be refreshed regularly in the course of things like GUI interactive settings construction, it's not really appropriate to try even act like this these are const anymore. --- src/modules/sparkler/sparkler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/sparkler') diff --git a/src/modules/sparkler/sparkler.c b/src/modules/sparkler/sparkler.c index 5d11a9d..d09b948 100644 --- a/src/modules/sparkler/sparkler.c +++ b/src/modules/sparkler/sparkler.c @@ -96,7 +96,7 @@ static void sparkler_render_fragment(void *context, unsigned ticks, unsigned cpu /* Settings hooks for configurable variables */ -static int sparkler_setup(const til_settings_t *settings, const til_setting_t **res_setting, const til_setting_desc_t **res_desc) +static int sparkler_setup(const til_settings_t *settings, til_setting_t **res_setting, const til_setting_desc_t **res_desc) { const char *show_bsp_leafs; const char *show_bsp_matches; -- cgit v1.2.3