mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
VST3: Prevent some warnings
This commit is contained in:
parent
26edac975d
commit
34675235e5
1 changed files with 2 additions and 2 deletions
|
|
@ -135,7 +135,7 @@ private:
|
|||
bool load (const std::string&, std::string&) final { return {}; }
|
||||
};
|
||||
|
||||
std::optional<Steinberg::ModuleInfo::CompatibilityList> loadCompatibilityFromModule (const VST3::Hosting::Module& pluginModule)
|
||||
static std::optional<Steinberg::ModuleInfo::CompatibilityList> loadCompatibilityFromModule (const VST3::Hosting::Module& pluginModule)
|
||||
{
|
||||
const auto& factory = pluginModule.getFactory();
|
||||
const auto& infos = factory.classInfos();
|
||||
|
|
@ -158,7 +158,7 @@ std::optional<Steinberg::ModuleInfo::CompatibilityList> loadCompatibilityFromMod
|
|||
if (compatibility->getCompatibilityJSON (&stream) != Steinberg::kResultOk)
|
||||
return {};
|
||||
|
||||
const std::string_view streamView (stream.getData(), stream.getSize());
|
||||
const std::string_view streamView (stream.getData(), (size_t) stream.getSize());
|
||||
|
||||
return Steinberg::ModuleInfoLib::parseCompatibilityJson (streamView, nullptr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue