aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/wave.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/wave.c')
-rw-r--r--Alc/wave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/wave.c b/Alc/wave.c
index f8921c64..03ec08a0 100644
--- a/Alc/wave.c
+++ b/Alc/wave.c
@@ -108,7 +108,7 @@ static ALuint WaveProc(ALvoid *ptr)
{
/* Timer wrapped. Add the remainder of the cycle to the available
* count and reset the number of samples done */
- avail += 0xFFFFFFFFu*pDevice->Frequency/1000 - done;
+ avail += (ALuint64)0xFFFFFFFFu*pDevice->Frequency/1000 - done;
done = 0;
}
if(avail-done < pDevice->UpdateSize)