From fd64fea27925030e8cc7243f0541ff475b37440a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 8 Feb 2011 10:33:18 -0800 Subject: Use the correct winmm device ID type --- Alc/winmm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Alc') 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; -- cgit v1.2.3