aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-amp.lv2/amp.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-17 03:25:57 +0000
committerDavid Robillard <d@drobilla.net>2012-04-17 03:25:57 +0000
commit08c2188f386ef496d16f27993e4e506e57bfa9f7 (patch)
treecbaee2a3082fb8ba51204278aae10ffe4bda05fc /plugins/eg-amp.lv2/amp.c
parent1ec3031dfaf229b9b598216f1a1d92254cbc163a (diff)
downloadlv2-08c2188f386ef496d16f27993e4e506e57bfa9f7.tar.xz
Fix compilation as C++.
Diffstat (limited to 'plugins/eg-amp.lv2/amp.c')
-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;
}
}