Adam Stoelting : winemp3.acm: Changed pointer cast from DWORD to DWORD_PTR.

Alexandre Julliard julliard at winehq.org
Mon Feb 23 10:00:20 CST 2009


Module: wine
Branch: master
Commit: f88e16987e6f8eae70a0a684ed026dcec8b9fada
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f88e16987e6f8eae70a0a684ed026dcec8b9fada

Author: Adam Stoelting <astoelting at ucla.edu>
Date:   Sat Feb 21 19:19:09 2009 -0800

winemp3.acm: Changed pointer cast from DWORD to DWORD_PTR.

---

 dlls/winemp3.acm/mpegl3.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winemp3.acm/mpegl3.c b/dlls/winemp3.acm/mpegl3.c
index 23ba586..6d476e4 100644
--- a/dlls/winemp3.acm/mpegl3.c
+++ b/dlls/winemp3.acm/mpegl3.c
@@ -419,7 +419,7 @@ static	LRESULT	MPEG3_StreamOpen(PACMDRVSTREAMINSTANCE adsi)
     aad = HeapAlloc(GetProcessHeap(), 0, sizeof(AcmMpeg3Data));
     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)




More information about the wine-cvs mailing list