mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +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
|
// TODO: Fall back to the old entry points
|
||||||
const auto vst_entry_point = reinterpret_cast<VstEntryPoint>(
|
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
|
// TODO: Check whether this returned a null pointer
|
||||||
AEffect* plugin = vst_entry_point(host_callback);
|
AEffect* plugin = vst_entry_point(host_callback);
|
||||||
|
|||||||
Reference in New Issue
Block a user