From 42548885767fa1492886d87d17592e79bc00924e Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 13 Sep 2019 09:38:35 -0700 Subject: Make IrSize unsigned --- alc/mixer/hrtfbase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alc/mixer/hrtfbase.h') 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(State->IrSize); auto accum_iter = std::copy_n(State->Values.begin(), State->Values.size(), AccumSamples); std::fill_n(accum_iter, BufferSize, float2{}); -- cgit v1.2.3