summaryrefslogtreecommitdiff
path: root/libs/fst
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-11-22 00:15:52 +0000
committerCarl Hetherington <carl@carlh.net>2011-11-22 00:15:52 +0000
commitac647e5fec542ad8b38d0a3080e9d0cf4c1a4bbd (patch)
tree168dd652289e5e40d54b9d1e12d6f97cc2e72a2d /libs/fst
parentd7b38512b8e0400e53a28708fd0e7da1188ad7ba (diff)
Fix Windows VST compile.
git-svn-id: svn://localhost/ardour2/branches/3.0@10756 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/fst')
-rw-r--r--libs/fst/fstinfofile.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/libs/fst/fstinfofile.c b/libs/fst/fstinfofile.c
index f8f09cd624..63f0c35cc2 100644
--- a/libs/fst/fstinfofile.c
+++ b/libs/fst/fstinfofile.c
@@ -212,11 +212,14 @@ static FSTInfo *fst_info_from_plugin( FST *fst ) {
}
// most simple one :) could be sufficient....
-static long simple_master_callback( struct AEffect *fx, long opcode, long index, long value, void *ptr, float opt ) {
- if( opcode == audioMasterVersion )
- return 2;
- else
- return 0;
+static intptr_t
+simple_master_callback (struct AEffect *fx, int32_t opcode, int32_t index, intptr_t value, void *ptr, float opt)
+{
+ if (opcode == audioMasterVersion) {
+ return 2;
+ } else {
+ return 0;
+ }
}
FSTInfo *fst_get_info( char *dllpath ) {