imaadp32.acm: Don't truncate a pointer by casting it to a DWORD.
This commit is contained in:
parent
1f56ce42e3
commit
0ca2d32682
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue