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

oldstable
Michael Stefaniuc 2009-02-18 22:46:59 +01:00 committed by Alexandre Julliard
parent 1f56ce42e3
commit 0ca2d32682
1 changed files with 1 additions and 1 deletions

View File

@ -688,7 +688,7 @@ static LRESULT ADPCM_StreamOpen(PACMDRVSTREAMINSTANCE adsi)
aad = HeapAlloc(GetProcessHeap(), 0, sizeof(AcmAdpcmData));
if (aad == 0) return MMSYSERR_NOMEM;
adsi->dwDriver = (DWORD)aad;
adsi->dwDriver = (DWORD_PTR)aad;
if (adsi->pwfxSrc->wFormatTag == WAVE_FORMAT_PCM &&
adsi->pwfxDst->wFormatTag == WAVE_FORMAT_PCM)