AudioMatrix/Submix: static_cast INT_MAX to float

This commit is contained in:
2020-04-19 00:07:57 -04:00
parent 89e4a18d0b
commit 7acefc6c60
2 changed files with 2 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ constexpr T ClampInt(float in) {
if (in < MIN)
return MIN;
else if (in > MAX)
else if (in > static_cast<float>(MAX))
return MAX;
else
return in;