Fix warning for function pointer casts

Still ain't pretty.
This commit is contained in:
Robbert van der Helm
2020-02-24 13:28:02 +01:00
parent cfa765e4d6
commit b133d2078d
+1 -1
View File
@@ -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);