diff options
author | Chris Robinson <[email protected]> | 2018-12-20 12:29:46 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-12-20 12:29:46 -0800 |
commit | 9fde260df9237cd99967a816332be31ce1524770 (patch) | |
tree | e45a0f1c59faa8916d38b261325f01d70e137902 /Alc/mastering.cpp | |
parent | 768ed3cfbb9b07b6f3a008e7e5e7d67559806abc (diff) |
Fix the type used for another subtraction
Diffstat (limited to 'Alc/mastering.cpp')
-rw-r--r-- | Alc/mastering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mastering.cpp b/Alc/mastering.cpp index fa2c9dac..91ea207b 100644 --- a/Alc/mastering.cpp +++ b/Alc/mastering.cpp @@ -86,7 +86,7 @@ static void ShiftSlidingHold(SlidingHold *Hold, const ALsizei n) std::bind(std::minus<ALsizei>{}, _1, n)); exp_begin = std::begin(Hold->Expiries); } - std::transform(exp_begin, exp_last+1, exp_begin, std::bind(std::minus<float>{}, _1, n)); + std::transform(exp_begin, exp_last+1, exp_begin, std::bind(std::minus<ALsizei>{}, _1, n)); } /* Multichannel compression is linked via the absolute maximum of all |