dmusic: Remove superfluous cast.
This commit is contained in:
parent
795c732c0d
commit
b75f5c728d
|
@ -263,7 +263,7 @@ static HRESULT WINAPI SynthPortImpl_IDirectMusicPort_DownloadInstrument(LPDIRECT
|
||||||
nb_regions = instrument_object->header.cRegions;
|
nb_regions = instrument_object->header.cRegions;
|
||||||
size = sizeof(DMUS_DOWNLOADINFO) + sizeof(ULONG) * (1 + nb_regions) + sizeof(DMUS_INSTRUMENT) + sizeof(DMUS_REGION) * nb_regions;
|
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)
|
if (!data)
|
||||||
return E_OUTOFMEMORY;
|
return E_OUTOFMEMORY;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue