diff options
Diffstat (limited to 'src/qt5_in_gtk.cpp')
-rw-r--r-- | src/qt5_in_gtk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt5_in_gtk.cpp b/src/qt5_in_gtk.cpp index e74ab5d..70a14c0 100644 --- a/src/qt5_in_gtk.cpp +++ b/src/qt5_in_gtk.cpp @@ -221,7 +221,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 / *(const float*)o->value; + wrap->idle_ms = (guint)(1000.0f / *(const float*)o->value); break; } } |