diff options
author | Chris Robinson <[email protected]> | 2013-10-28 12:12:26 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-10-28 12:12:26 -0700 |
commit | 0617df9b5f6dd2b01d248edd0b4ad989d1c343f8 (patch) | |
tree | 805caca7623dc5f7dc3a3d20bac2db412e606d56 /Alc/backends | |
parent | f24cb447818ea21ff5a5d80d6396abb4723fd2ed (diff) |
Fix a couple casts
Diffstat (limited to 'Alc/backends')
-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; } |