From 08c2188f386ef496d16f27993e4e506e57bfa9f7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 17 Apr 2012 03:25:57 +0000 Subject: Fix compilation as C++. --- plugins/eg-amp.lv2/amp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins') 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; } } -- cgit v1.2.1