Commit 0ca2d326 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

imaadp32.acm: Don't truncate a pointer by casting it to a DWORD.

parent 1f56ce42
...@@ -688,7 +688,7 @@ static LRESULT ADPCM_StreamOpen(PACMDRVSTREAMINSTANCE adsi) ...@@ -688,7 +688,7 @@ static LRESULT ADPCM_StreamOpen(PACMDRVSTREAMINSTANCE adsi)
aad = HeapAlloc(GetProcessHeap(), 0, sizeof(AcmAdpcmData)); aad = HeapAlloc(GetProcessHeap(), 0, sizeof(AcmAdpcmData));
if (aad == 0) return MMSYSERR_NOMEM; if (aad == 0) return MMSYSERR_NOMEM;
adsi->dwDriver = (DWORD)aad; adsi->dwDriver = (DWORD_PTR)aad;
if (adsi->pwfxSrc->wFormatTag == WAVE_FORMAT_PCM && if (adsi->pwfxSrc->wFormatTag == WAVE_FORMAT_PCM &&
adsi->pwfxDst->wFormatTag == WAVE_FORMAT_PCM) adsi->pwfxDst->wFormatTag == WAVE_FORMAT_PCM)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment