From 69f6f561607a3c1c7d6947cb6ba98682df807051 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 11 Feb 2019 12:16:58 -0800 Subject: Avoid using internal AL[u]int64 types --- Alc/converter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Alc/converter.cpp') diff --git a/Alc/converter.cpp b/Alc/converter.cpp index 9ec97e23..884a98da 100644 --- a/Alc/converter.cpp +++ b/Alc/converter.cpp @@ -195,7 +195,7 @@ ALsizei SampleConverter::availableOut(ALsizei srcframes) const return 0; } - auto DataSize64 = static_cast(prepcount); + auto DataSize64 = static_cast(prepcount); DataSize64 += srcframes; DataSize64 -= MAX_RESAMPLE_PADDING*2; DataSize64 <<= FRACTIONBITS; @@ -252,7 +252,7 @@ ALsizei SampleConverter::convert(const ALvoid **src, ALsizei *srcframes, ALvoid ALfloat *RESTRICT SrcData{mSrcSamples}; ALfloat *RESTRICT DstData{mDstSamples}; ALsizei DataPosFrac{mFracOffset}; - auto DataSize64 = static_cast(prepcount); + auto DataSize64 = static_cast(prepcount); DataSize64 += toread; DataSize64 -= MAX_RESAMPLE_PADDING*2; DataSize64 <<= FRACTIONBITS; -- cgit v1.2.3