diff options
author | Chris Robinson <[email protected]> | 2018-12-20 12:03:32 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-12-20 12:03:32 -0800 |
commit | 837881eb7986a56f1e83c1cb23faef0b020bfbd1 (patch) | |
tree | 55f964cb40ac81099b487122211eae529c337477 /Alc/mastering.cpp | |
parent | 7dc553350bd70b77608b3da175d9146494fb861d (diff) |
Fix the type used for 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 007c2657..37752f4f 100644 --- a/Alc/mastering.cpp +++ b/Alc/mastering.cpp @@ -83,7 +83,7 @@ static void ShiftSlidingHold(SlidingHold *Hold, const ALsizei n) if(exp_last < exp_begin) { std::transform(exp_begin, std::end(Hold->Expiries), exp_begin, - std::bind(std::minus<float>{}, _1, 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)); |