commit 038b3072bb38d75eabd3847d0be06a3aababc31e parent 920db2c4f797612236f7f2441b797f3ed8b2efe7 Author: dsp56300 <dsp56300@users.noreply.github.com> Date: Mon, 26 Jul 2021 10:46:46 +0200 fix warnings Diffstat:
M | source/synthLib/resamplerInOut.cpp | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/synthLib/resamplerInOut.cpp b/source/synthLib/resamplerInOut.cpp @@ -61,7 +61,7 @@ namespace synthLib for(size_t i=0; i<_src.size(); ++i) { _dst.push_back(_src[i]); - _dst[i].offset = clamp(_dst[i].offset, static_cast<int>(_offsetMin), static_cast<int>(_offsetMax)); + _dst[i].offset = clamp(_dst[i].offset, _offsetMin, _offsetMax); } }