Static cast to int

This commit is contained in:
Paul Fd 2020-03-15 02:18:21 +01:00
parent ea109f7896
commit dc0040a46b

View file

@ -716,7 +716,7 @@ int sfz::Synth::getNumMasters() const noexcept
} }
int sfz::Synth::getNumCurves() const noexcept int sfz::Synth::getNumCurves() const noexcept
{ {
return curves.getNumCurves(); return static_cast<int>(curves.getNumCurves());
} }
std::string sfz::Synth::exportMidnam(absl::string_view model) const std::string sfz::Synth::exportMidnam(absl::string_view model) const