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