aboutsummaryrefslogtreecommitdiffstats
path: root/src/sync_square.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-02 00:11:31 +0000
committerDavid Robillard <d@drobilla.net>2012-08-02 00:11:31 +0000
commit3ddfa2d12e95d927f9ccdce1df93b93922bfa221 (patch)
tree31e10eefed53b8ce55627e3dffc16a54417594d8 /src/sync_square.c
parentfad5bc6aab40cd4a03dbd0934061fd1182ca2b6d (diff)
downloadblop.lv2-3ddfa2d12e95d927f9ccdce1df93b93922bfa221.tar.gz
blop.lv2-3ddfa2d12e95d927f9ccdce1df93b93922bfa221.tar.bz2
blop.lv2-3ddfa2d12e95d927f9ccdce1df93b93922bfa221.zip
Compile cleanly as C++.
git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/blop.lv2@4587 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/sync_square.c')
-rw-r--r--src/sync_square.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sync_square.c b/src/sync_square.c
index 19fbcc1..f3c5ce8 100644
--- a/src/sync_square.c
+++ b/src/sync_square.c
@@ -53,13 +53,13 @@ connect_port(LV2_Handle instance,
switch (port) {
case SYNCSQUARE_FREQUENCY:
- plugin->frequency = data;
+ plugin->frequency = (float*)data;
break;
case SYNCSQUARE_GATE:
- plugin->gate = data;
+ plugin->gate = (float*)data;
break;
case SYNCSQUARE_OUTPUT:
- plugin->output = data;
+ plugin->output = (float*)data;
break;
}
}