fix error in last commit with VST entry function type cast
git-svn-id: svn://localhost/ardour2/trunk@1512 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
c20e55d07a
commit
44a3f5419b
@ -514,7 +514,9 @@ fst_load (const char *path)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if ((fhandle->main_entry = ((AEffect*)()(audioMasterCallback)) GetProcAddress (fhandle->dll, "main")) == NULL) {
|
||||
typedef AEffect* (*entryFunctionType)(audioMasterCallback);
|
||||
|
||||
if ((fhandle->main_entry = (entryFunctionType) GetProcAddress (fhandle->dll, "main")) == NULL) {
|
||||
fst_unload (fhandle);
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user