aboutsummaryrefslogtreecommitdiffstats
path: root/alc/mixer
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-09-13 09:38:35 -0700
committerChris Robinson <[email protected]>2019-09-13 09:38:35 -0700
commit42548885767fa1492886d87d17592e79bc00924e (patch)
tree0d542f58193290fed38d01bb64f721fdfb9d5b9f /alc/mixer
parentdf306b55245de7a281d695046e74717e4cdd511f (diff)
Make IrSize unsigned
Diffstat (limited to 'alc/mixer')
-rw-r--r--alc/mixer/hrtfbase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/mixer/hrtfbase.h b/alc/mixer/hrtfbase.h
index 0309fe5d..dd33ce2d 100644
--- a/alc/mixer/hrtfbase.h
+++ b/alc/mixer/hrtfbase.h
@@ -103,7 +103,7 @@ inline void MixDirectHrtfBase(FloatBufferLine &LeftOut, FloatBufferLine &RightOu
{
ASSUME(BufferSize > 0);
- const ALsizei IrSize{State->IrSize};
+ const auto IrSize = static_cast<ALsizei>(State->IrSize);
auto accum_iter = std::copy_n(State->Values.begin(), State->Values.size(), AccumSamples);
std::fill_n(accum_iter, BufferSize, float2{});