diff options
-rw-r--r-- | Alc/null.c | 2 | ||||
-rw-r--r-- | Alc/wave.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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) @@ -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) |