diff options
Diffstat (limited to 'Alc/backends/null.c')
-rw-r--r-- | Alc/backends/null.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/null.c b/Alc/backends/null.c index af68c585..ecf827a9 100644 --- a/Alc/backends/null.c +++ b/Alc/backends/null.c @@ -70,8 +70,8 @@ static ALuint ALCnullBackend_mixerProc(ALvoid *ptr) } if(avail-done < device->UpdateSize) { - ALuint restTime = (device->UpdateSize - (avail-done)) * 1000 / - device->Frequency; + ALuint restTime = (ALuint)((device->UpdateSize - (avail-done)) * 1000 / + device->Frequency); Sleep(restTime); continue; } |