Module: wine Branch: master Commit: 0ca2d32682657232ba08d3cfcc5a76060980692b URL: http://source.winehq.org/git/wine.git/?a=commit;h=0ca2d32682657232ba08d3cfcc...
Author: Michael Stefaniuc mstefani@redhat.de Date: Wed Feb 18 22:46:59 2009 +0100
imaadp32.acm: Don't truncate a pointer by casting it to a DWORD.
---
dlls/imaadp32.acm/imaadp32.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/imaadp32.acm/imaadp32.c b/dlls/imaadp32.acm/imaadp32.c index f784f59..dd3cc5d 100644 --- a/dlls/imaadp32.acm/imaadp32.c +++ b/dlls/imaadp32.acm/imaadp32.c @@ -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)