=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: dmusic: Remove superfluous cast.

Alexandre Julliard julliard at winehq.org
Tue Jul 2 14:31:29 CDT 2013


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Mon Jul  1 22:55:10 2013 +0200

dmusic: Remove superfluous cast.

---

 dlls/dmusic/port.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/dmusic/port.c b/dlls/dmusic/port.c
index 42fd5ea..2e60828 100644
--- a/dlls/dmusic/port.c
+++ b/dlls/dmusic/port.c
@@ -263,7 +263,7 @@ static HRESULT WINAPI SynthPortImpl_IDirectMusicPort_DownloadInstrument(LPDIRECT
     nb_regions = instrument_object->header.cRegions;
     size = sizeof(DMUS_DOWNLOADINFO) + sizeof(ULONG) * (1 + nb_regions) + sizeof(DMUS_INSTRUMENT) + sizeof(DMUS_REGION) * nb_regions;
 
-    data = (BYTE*)HeapAlloc(GetProcessHeap(), 0, size);
+    data = HeapAlloc(GetProcessHeap(), 0, size);
     if (!data)
         return E_OUTOFMEMORY;
 




More information about the wine-cvs mailing list