dmusic: Remove superfluous cast

André Hentschel nerv at dawncrow.de
Mon Jul 1 15:55:10 CDT 2013


---
 dlls/dmusic/port.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 
-- 
1.8.1.2




More information about the wine-patches mailing list