diff options
author | Chris Robinson <[email protected]> | 2019-02-11 12:16:58 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-02-11 12:16:58 -0800 |
commit | 69f6f561607a3c1c7d6947cb6ba98682df807051 (patch) | |
tree | 9a0edda3711f82913ccd5c9b8da1eb20b873f651 /Alc/converter.cpp | |
parent | 2fc8461c14074c7f19d6c226e1beaf55aed441a0 (diff) |
Avoid using internal AL[u]int64 types
Diffstat (limited to 'Alc/converter.cpp')
-rw-r--r-- | Alc/converter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<ALuint64>(prepcount); + auto DataSize64 = static_cast<uint64_t>(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<ALuint64>(prepcount); + auto DataSize64 = static_cast<uint64_t>(prepcount); DataSize64 += toread; DataSize64 -= MAX_RESAMPLE_PADDING*2; DataSize64 <<= FRACTIONBITS; |