aboutsummaryrefslogtreecommitdiffstats
path: root/src/adenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/adenv.c')
-rw-r--r--src/adenv.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/adenv.c b/src/adenv.c
index 81b54f4..3d8c95e 100644
--- a/src/adenv.c
+++ b/src/adenv.c
@@ -72,19 +72,19 @@ connect_port(LV2_Handle instance,
switch (port) {
case ADENV_GATE:
- plugin->gate = data;
+ plugin->gate = (float*)data;
break;
case ADENV_TRIGGER:
- plugin->trigger = data;
+ plugin->trigger = (float*)data;
break;
case ADENV_ATTACK:
- plugin->attack = data;
+ plugin->attack = (float*)data;
break;
case ADENV_DECAY:
- plugin->decay = data;
+ plugin->decay = (float*)data;
break;
case ADENV_OUTPUT:
- plugin->output = data;
+ plugin->output = (float*)data;
break;
}
}