aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixvoice.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-02-11 12:16:58 -0800
committerChris Robinson <[email protected]>2019-02-11 12:16:58 -0800
commit69f6f561607a3c1c7d6947cb6ba98682df807051 (patch)
tree9a0edda3711f82913ccd5c9b8da1eb20b873f651 /Alc/mixvoice.cpp
parent2fc8461c14074c7f19d6c226e1beaf55aed441a0 (diff)
Avoid using internal AL[u]int64 types
Diffstat (limited to 'Alc/mixvoice.cpp')
-rw-r--r--Alc/mixvoice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixvoice.cpp b/Alc/mixvoice.cpp
index 6fecb830..a0518ed5 100644
--- a/Alc/mixvoice.cpp
+++ b/Alc/mixvoice.cpp
@@ -367,7 +367,7 @@ ALboolean MixSource(ALvoice *voice, const ALuint SourceID, ALCcontext *Context,
ALsizei DstBufferSize{SamplesToDo - OutPos};
/* Calculate the last written dst sample pos. */
- ALint64 DataSize64{DstBufferSize - 1};
+ int64_t DataSize64{DstBufferSize - 1};
/* Calculate the last read src sample pos. */
DataSize64 = (DataSize64*increment + DataPosFrac) >> FRACTIONBITS;
/* +1 to get the src sample count, include padding. */