aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/winmm.c4
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;