diff options
author | Chris Robinson <[email protected]> | 2011-02-08 10:33:18 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-02-08 10:33:18 -0800 |
commit | fd64fea27925030e8cc7243f0541ff475b37440a (patch) | |
tree | 1c1ea802610173ff6bf645855b6cbe288aa93de6 /Alc/winmm.c | |
parent | 667fd24c84e3674f74ca43a6a48521f7ed173a64 (diff) |
Use the correct winmm device ID type
Diffstat (limited to 'Alc/winmm.c')
-rw-r--r-- | Alc/winmm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/winmm.c b/Alc/winmm.c index ee21e71e..10d0c28f 100644 --- a/Alc/winmm.c +++ b/Alc/winmm.c @@ -303,7 +303,7 @@ static ALCboolean WinMMOpenPlayback(ALCdevice *pDevice, const ALCchar *deviceNam { WAVEFORMATEX wfexFormat; WinMMData *pData = NULL; - UINT_PTR lDeviceID = 0; + UINT lDeviceID = 0; MMRESULT res; ALuint i = 0; @@ -490,7 +490,7 @@ static ALCboolean WinMMOpenCapture(ALCdevice *pDevice, const ALCchar *deviceName WAVEFORMATEX wfexCaptureFormat; DWORD ulCapturedDataSize; WinMMData *pData = NULL; - ALint lDeviceID = 0; + UINT lDeviceID = 0; ALbyte *BufferData; ALint lBufferSize; MMRESULT res; |