diff --git a/WECore/WEFilters/TPTSVFilter.h b/WECore/WEFilters/TPTSVFilter.h index db38cab3..6849a056 100644 --- a/WECore/WEFilters/TPTSVFilter.h +++ b/WECore/WEFilters/TPTSVFilter.h @@ -124,15 +124,15 @@ namespace WECore::TPTSVF { switch (_mode) { case Parameters::ModeParameter::PEAK: - inSamples[idx] = yB * _gain; + inSamples[idx] = yB * static_cast(_gain); break; case Parameters::ModeParameter::HIGHPASS: - inSamples[idx] = yH * _gain; + inSamples[idx] = yH * static_cast(_gain); break; default: - inSamples[idx] = yL * _gain; + inSamples[idx] = yL * static_cast(_gain); break; } }