diff options
author | David Robillard <d@drobilla.net> | 2018-09-24 19:00:43 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-24 19:08:41 +0200 |
commit | 46fbd9b6f9868dcc0770d1378e7654635900c196 (patch) | |
tree | b1489b914cc61e302d853223e829d821e742dbd9 /src/jalv.c | |
parent | e9d44aaf8285901f2f95daf7eba7d08f72cdcc53 (diff) | |
download | jalv-46fbd9b6f9868dcc0770d1378e7654635900c196.tar.gz jalv-46fbd9b6f9868dcc0770d1378e7654635900c196.tar.bz2 jalv-46fbd9b6f9868dcc0770d1378e7654635900c196.zip |
Fix some unnecessary const casts
Diffstat (limited to 'src/jalv.c')
-rw-r--r-- | src/jalv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |