From b133d2078d5461ff5241e8664d05f95c9f8ae786 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Mon, 24 Feb 2020 13:28:02 +0100 Subject: [PATCH] Fix warning for function pointer casts Still ain't pretty. --- src/wine-host/vst-host.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wine-host/vst-host.cpp b/src/wine-host/vst-host.cpp index f75fe87a..0a16ab60 100644 --- a/src/wine-host/vst-host.cpp +++ b/src/wine-host/vst-host.cpp @@ -48,7 +48,7 @@ int main() { // TODO: Fall back to the old entry points const auto vst_entry_point = reinterpret_cast( - GetProcAddress(vst_handle, "VSTPluginMain")); + reinterpret_cast(GetProcAddress(vst_handle, "VSTPluginMain"))); // TODO: Check whether this returned a null pointer AEffect* plugin = vst_entry_point(host_callback);