X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Ffst%2Fvstwin.c;h=62bab5b418f5b058f2d85d34a2014d3a1565e65d;hb=c20e55d07a252e4db800454fa361b8cc9a047879;hp=0ee34b70b40e13872e2ca7e128fcff08b7c48fea;hpb=54f18f26d4731ebda625776f8850ea8ff4dcc79e;p=ardour.git diff --git a/libs/fst/vstwin.c b/libs/fst/vstwin.c index 0ee34b70b4..62bab5b418 100644 --- a/libs/fst/vstwin.c +++ b/libs/fst/vstwin.c @@ -514,7 +514,7 @@ fst_load (const char *path) return NULL; } - if ((fhandle->main_entry = GetProcAddress (fhandle->dll, "main")) == NULL) { + if ((fhandle->main_entry = ((AEffect*)()(audioMasterCallback)) GetProcAddress (fhandle->dll, "main")) == NULL) { fst_unload (fhandle); return NULL; }