mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
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));
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user