Module: wine Branch: master Commit: b75f5c728db89df35cf32c09207d529debef1d68 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b75f5c728db89df35cf32c0920...
Author: André Hentschel nerv@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;