From dc0040a46b8d6c3a9e795da278765145619f9f31 Mon Sep 17 00:00:00 2001 From: Paul Fd Date: Sun, 15 Mar 2020 02:18:21 +0100 Subject: [PATCH] Static cast to int --- src/sfizz/Synth.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sfizz/Synth.cpp b/src/sfizz/Synth.cpp index 816d0b26..8f7612ef 100644 --- a/src/sfizz/Synth.cpp +++ b/src/sfizz/Synth.cpp @@ -716,7 +716,7 @@ int sfz::Synth::getNumMasters() const noexcept } int sfz::Synth::getNumCurves() const noexcept { - return curves.getNumCurves(); + return static_cast(curves.getNumCurves()); } std::string sfz::Synth::exportMidnam(absl::string_view model) const