diff --git a/plugins/vst_base/RemoteVstPlugin.cpp b/plugins/vst_base/RemoteVstPlugin.cpp index b95935c2c..db5c99e8f 100644 --- a/plugins/vst_base/RemoteVstPlugin.cpp +++ b/plugins/vst_base/RemoteVstPlugin.cpp @@ -814,7 +814,7 @@ bool RemoteVstPlugin::load( const std::string & _plugin_file ) return false; } - typedef AEffect * ( __stdcall * mainEntryPointer ) + typedef AEffect * ( __cdecl * mainEntryPointer ) ( audioMasterCallback ); mainEntryPointer mainEntry = (mainEntryPointer) GetProcAddress( m_libInst, "VSTPluginMain" );