From 2e010d29cba51aec339179d52d3faddf84faafb0 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 12 Sep 2019 11:33:04 -0700 Subject: Clean up implicit conversions in source.cpp --- alc/mixvoice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alc/mixvoice.cpp') diff --git a/alc/mixvoice.cpp b/alc/mixvoice.cpp index 98b86c9a..acc3af1d 100644 --- a/alc/mixvoice.cpp +++ b/alc/mixvoice.cpp @@ -485,8 +485,8 @@ void ALvoice::mix(State vstate, ALCcontext *Context, const ALuint SamplesToDo) ALuint DataPosFrac{mPositionFrac.load(std::memory_order_relaxed)}; ALbufferlistitem *BufferListItem{mCurrentBuffer.load(std::memory_order_relaxed)}; ALbufferlistitem *BufferLoopItem{mLoopBuffer.load(std::memory_order_relaxed)}; - const auto NumChannels = static_cast(mNumChannels); - const auto SampleSize = static_cast(mSampleSize); + const ALuint NumChannels{mNumChannels}; + const ALuint SampleSize{mSampleSize}; const auto increment = static_cast(mStep); if(increment < 1) return; -- cgit v1.2.3