aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/eg-amp.lv2/amp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/eg-amp.lv2/amp.c b/plugins/eg-amp.lv2/amp.c
index d5e6bea..c52eedd 100644
--- a/plugins/eg-amp.lv2/amp.c
+++ b/plugins/eg-amp.lv2/amp.c
@@ -56,13 +56,13 @@ connect_port(LV2_Handle instance,
switch ((PortIndex)port) {
case AMP_GAIN:
- amp->gain = data;
+ amp->gain = (float*)data;
break;
case AMP_INPUT:
- amp->input = data;
+ amp->input = (float*)data;
break;
case AMP_OUTPUT:
- amp->output = data;
+ amp->output = (float*)data;
break;
}
}