From c84ce132a523bf81581938537bdc454d6af7fb13 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 17 Dec 2013 03:14:34 +0000 Subject: Fix more const issues. Require latest LV2 svn for Ingen (fix #945). git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5174 a436a847-0d15-0410-975c-d299462d15a1 --- src/x11_in_gtk2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/x11_in_gtk2.c b/src/x11_in_gtk2.c index 7fc9158..0536f13 100644 --- a/src/x11_in_gtk2.c +++ b/src/x11_in_gtk2.c @@ -335,7 +335,7 @@ suil_wrapper_new(SuilHost* host, LV2_URID ui_updateRate = map->map(map->handle, LV2_UI__updateRate); for (LV2_Options_Option* o = options; o->key; ++o) { if (o->key == ui_updateRate) { - wrap->idle_ms = 1000.0f / *(float*)o->value; + wrap->idle_ms = 1000.0f / *(const float*)o->value; break; } } -- cgit v1.2.1