diff --git a/source/frontend/pluginlist/pluginlistdialog.cpp b/source/frontend/pluginlist/pluginlistdialog.cpp index b4c8f92ef..31ac80f8c 100644 --- a/source/frontend/pluginlist/pluginlistdialog.cpp +++ b/source/frontend/pluginlist/pluginlistdialog.cpp @@ -490,7 +490,7 @@ template inline T static_cast_void(const void* ptr) struct PluginInfoBytes { uint API; uint build; - CARLA_BACKEND_NAMESPACE::PluginType type; + uint type; uint hints; uint64_t uniqueId; uint audioIns; @@ -507,8 +507,8 @@ QVariant asVariant(const PluginInfo& plugin) { const PluginInfoBytes data = { plugin.API, - plugin.build, - plugin.type, + static_cast(plugin.build), + static_cast(plugin.type), plugin.hints, plugin.uniqueId, plugin.audioIns,