summaryrefslogtreecommitdiffstats
path: root/src/x11_in_gtk2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/x11_in_gtk2.c')
-rw-r--r--src/x11_in_gtk2.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}