diff options
author | David Robillard <d@drobilla.net> | 2013-12-17 03:14:34 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-12-17 03:14:34 +0000 |
commit | c84ce132a523bf81581938537bdc454d6af7fb13 (patch) | |
tree | 248911131adc6748b91b17d248a77379d9ddd78d | |
parent | de6c6af9f101b61eae66f5d15362262a3cb027f9 (diff) | |
download | suil-c84ce132a523bf81581938537bdc454d6af7fb13.tar.gz suil-c84ce132a523bf81581938537bdc454d6af7fb13.tar.bz2 suil-c84ce132a523bf81581938537bdc454d6af7fb13.zip |
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
-rw-r--r-- | src/x11_in_gtk2.c | 2 |
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; } } |