aboutsummaryrefslogtreecommitdiffstats
path: root/src/sawtooth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sawtooth.c')
-rw-r--r--src/sawtooth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sawtooth.c b/src/sawtooth.c
index 35db21f..7106830 100644
--- a/src/sawtooth.c
+++ b/src/sawtooth.c
@@ -44,10 +44,10 @@ connect_port(LV2_Handle instance,
switch (port) {
case SAWTOOTH_FREQUENCY:
- plugin->frequency = data;
+ plugin->frequency = (float*)data;
break;
case SAWTOOTH_OUTPUT:
- plugin->output = data;
+ plugin->output = (float*)data;
break;
}
}