aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jalv.c')
-rw-r--r--src/jalv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jalv.c b/src/jalv.c
index 732cea2..9cda82c 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -384,7 +384,7 @@ jalv_set_control(const ControlID* control,
Jalv* jalv = control->jalv;
if (control->type == PORT && type == jalv->forge.Float) {
struct Port* port = &control->jalv->ports[control->index];
- port->control = *(float*)body;
+ port->control = *(const float*)body;
} else if (control->type == PROPERTY) {
// Copy forge since it is used by process thread
LV2_Atom_Forge forge = jalv->forge;