aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-scope.lv2/examploscope_ui.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-16 16:51:04 +0100
committerDavid Robillard <d@drobilla.net>2020-12-16 16:51:52 +0100
commitc8713e92312ef140ea8576031769cdad10b30946 (patch)
tree5bf1463ba7bb06af7e21a5de4e5c779855e1e799 /plugins/eg-scope.lv2/examploscope_ui.c
parentbbff4459368ea25f1ae1ee3452a5b5c5dcd64e06 (diff)
downloadlv2-c8713e92312ef140ea8576031769cdad10b30946.tar.xz
Fix implicit and narrowing conversions
Diffstat (limited to 'plugins/eg-scope.lv2/examploscope_ui.c')
-rw-r--r--plugins/eg-scope.lv2/examploscope_ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/eg-scope.lv2/examploscope_ui.c b/plugins/eg-scope.lv2/examploscope_ui.c
index 5e244af..48ffec4 100644
--- a/plugins/eg-scope.lv2/examploscope_ui.c
+++ b/plugins/eg-scope.lv2/examploscope_ui.c
@@ -353,8 +353,8 @@ process_channel(EgScopeUI* ui,
if (chn->idx == 0) {
++overflow;
}
- chn->data_min[chn->idx] = 1.0;
- chn->data_max[chn->idx] = -1.0;
+ chn->data_min[chn->idx] = 1.0f;
+ chn->data_max[chn->idx] = -1.0f;
}
}
*idx_end = chn->idx;