Fix Windows VST compile.
authorCarl Hetherington <carl@carlh.net>
Tue, 22 Nov 2011 00:15:52 +0000 (00:15 +0000)
committerCarl Hetherington <carl@carlh.net>
Tue, 22 Nov 2011 00:15:52 +0000 (00:15 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@10756 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/fst/fstinfofile.c

index f8f09cd62492b1f64da324b0f8406419bbd85bcb..63f0c35cc20645d4bd5b9779a99a0d78f77de910 100644 (file)
@@ -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 ) {