mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-06 19:40:10 +02:00
Fix warning for function pointer casts
Still ain't pretty.
This commit is contained in:
@@ -48,7 +48,7 @@ int main() {
|
||||
|
||||
// TODO: Fall back to the old entry points
|
||||
const auto vst_entry_point = reinterpret_cast<VstEntryPoint>(
|
||||
GetProcAddress(vst_handle, "VSTPluginMain"));
|
||||
reinterpret_cast<size_t>(GetProcAddress(vst_handle, "VSTPluginMain")));
|
||||
|
||||
// TODO: Check whether this returned a null pointer
|
||||
AEffect* plugin = vst_entry_point(host_callback);
|
||||
|
||||
Reference in New Issue
Block a user