From 6c1f8c305dfcfd0f5d62394bd5db06a1470d2dec Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 15 May 2023 01:07:56 +0200 Subject: [PATCH] frontend: make build datatype more clear Signed-off-by: falkTX --- source/frontend/pluginlist/pluginlistdialog.cpp | 2 +- source/frontend/pluginlist/pluginlistdialog.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/frontend/pluginlist/pluginlistdialog.cpp b/source/frontend/pluginlist/pluginlistdialog.cpp index de814511a..b4c8f92ef 100644 --- a/source/frontend/pluginlist/pluginlistdialog.cpp +++ b/source/frontend/pluginlist/pluginlistdialog.cpp @@ -565,7 +565,7 @@ PluginInfo asPluginInfo(const QVariant& var) const PluginInfoBytes* const data = static_cast_void(qdata.constData()); PluginInfo plugin = { data->API, - data->build, + static_cast(data->build), static_cast(data->type), data->hints, {}, {}, {}, {}, {}, diff --git a/source/frontend/pluginlist/pluginlistdialog.hpp b/source/frontend/pluginlist/pluginlistdialog.hpp index 29a74b497..fbb923fba 100644 --- a/source/frontend/pluginlist/pluginlistdialog.hpp +++ b/source/frontend/pluginlist/pluginlistdialog.hpp @@ -47,7 +47,7 @@ struct HostSettings { struct PluginInfo { uint API; - uint build; + CARLA_BACKEND_NAMESPACE::BinaryType build; CARLA_BACKEND_NAMESPACE::PluginType type; uint hints; QString category;