From ed05c83ee7aa9464fe5e72cdd20916c3233dd283 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 11 Jan 2015 15:02:26 -0800 Subject: Fix the flags type --- Alc/backends/mmdevapi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Alc/backends/mmdevapi.c b/Alc/backends/mmdevapi.c index 87895680..be64c2f5 100644 --- a/Alc/backends/mmdevapi.c +++ b/Alc/backends/mmdevapi.c @@ -1222,7 +1222,8 @@ FORCE_ALIGN int ALCmmdevCapture_recordProc(void *arg) ERR("Failed to get next packet size: 0x%08lx\n", hr); else while(avail > 0 && SUCCEEDED(hr)) { - UINT32 flags, numsamples; + UINT32 numsamples; + DWORD flags; BYTE *data; hr = IAudioCaptureClient_GetBuffer(self->capture, -- cgit v1.2.3