aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-params.lv2/params.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/eg-params.lv2/params.c')
-rw-r--r--plugins/eg-params.lv2/params.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/eg-params.lv2/params.c b/plugins/eg-params.lv2/params.c
index cb09e83..a302acb 100644
--- a/plugins/eg-params.lv2/params.c
+++ b/plugins/eg-params.lv2/params.c
@@ -482,7 +482,7 @@ run(LV2_Handle instance, uint32_t sample_count)
if (self->state.spring.body > 0.0f) {
const float spring = self->state.spring.body;
- self->state.spring.body = (spring >= 0.001) ? spring - 0.001 : 0.0;
+ self->state.spring.body = (spring >= 0.001) ? spring - 0.001f : 0.0f;
lv2_atom_forge_frame_time(&self->forge, 0);
LV2_Atom_Forge_Frame frame;
lv2_atom_forge_object(&self->forge, &frame, 0, uris->patch_Set);