aboutsummaryrefslogtreecommitdiffstats
path: root/src/difference.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/difference.c')
-rw-r--r--src/difference.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/difference.c b/src/difference.c
index 92e9a26..61a59e9 100644
--- a/src/difference.c
+++ b/src/difference.c
@@ -51,13 +51,13 @@ connect_port(LV2_Handle instance,
switch (port) {
case DIFFERENCE_MINUEND:
- plugin->minuend = data;
+ plugin->minuend = (float*)data;
break;
case DIFFERENCE_SUBTRAHEND:
- plugin->subtrahend = data;
+ plugin->subtrahend = (float*)data;
break;
case DIFFERENCE_DIFFERENCE:
- plugin->difference = data;
+ plugin->difference = (float*)data;
break;
}
}