diff options
Diffstat (limited to 'Alc/backends/mmdevapi.c')
-rw-r--r-- | Alc/backends/mmdevapi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/backends/mmdevapi.c b/Alc/backends/mmdevapi.c index 2bfd2d0b..9eb5cfc5 100644 --- a/Alc/backends/mmdevapi.c +++ b/Alc/backends/mmdevapi.c @@ -105,7 +105,7 @@ static HRESULT WaitForResponse(ThreadRequest *req) static HRESULT get_mmdevice_by_guid(IMMDeviceEnumerator *devenum, EDataFlow flowdir, const GUID *guid, IMMDevice **out) { IMMDeviceCollection *coll; - DWORD count, i; + UINT count, i; HRESULT hr; hr = IMMDeviceEnumerator_EnumAudioEndpoints(devenum, flowdir, DEVICE_STATE_ACTIVE, &coll); @@ -211,10 +211,10 @@ static DevMap *ProbeDevices(IMMDeviceEnumerator *devenum, EDataFlow flowdir, ALu IMMDeviceCollection *coll; IMMDevice *defdev = NULL; DevMap *devlist; - DWORD count; + UINT count; HRESULT hr; - DWORD idx; - DWORD i; + UINT idx; + UINT i; hr = IMMDeviceEnumerator_EnumAudioEndpoints(devenum, flowdir, DEVICE_STATE_ACTIVE, &coll); if(FAILED(hr)) |