diff options
author | David Robillard <d@drobilla.net> | 2012-04-17 03:25:57 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-04-17 03:25:57 +0000 |
commit | 08c2188f386ef496d16f27993e4e506e57bfa9f7 (patch) | |
tree | cbaee2a3082fb8ba51204278aae10ffe4bda05fc | |
parent | 1ec3031dfaf229b9b598216f1a1d92254cbc163a (diff) | |
download | lv2-08c2188f386ef496d16f27993e4e506e57bfa9f7.tar.xz |
Fix compilation as C++.
-rw-r--r-- | plugins/eg-amp.lv2/amp.c | 6 |
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; } } |