diff options
author | Chris Robinson <[email protected]> | 2012-02-17 01:32:35 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-02-17 01:32:35 -0800 |
commit | e43e1bd7f563147c4a06d24ded78f6424fae24f2 (patch) | |
tree | ff4f136311b9900ab24285ae0a226bbc585dc583 | |
parent | eb586b0ed741c25ebb209b6c1790a98b94796f4d (diff) |
Silence another MSVC warning
-rw-r--r-- | Alc/backends/mmdevapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/mmdevapi.c b/Alc/backends/mmdevapi.c index 86c174d1..2bfd2d0b 100644 --- a/Alc/backends/mmdevapi.c +++ b/Alc/backends/mmdevapi.c @@ -579,7 +579,7 @@ static HRESULT DoReset(ALCdevice *device) hr = IAudioClient_GetDevicePeriod(data->client, &min_per, NULL); if(SUCCEEDED(hr)) { - min_len = (min_per*device->Frequency + 10000000-1) / 10000000; + min_len = (UINT32)((min_per*device->Frequency + 10000000-1) / 10000000); hr = IAudioClient_GetBufferSize(data->client, &buffer_len); } if(FAILED(hr)) |