dmusic: Avoid signed-unsigned integer comparisons.
This commit is contained in:
parent
7805ff3291
commit
00f85d7fc3
|
@ -316,7 +316,7 @@ static void create_system_ports_list(IDirectMusic8Impl* object)
|
||||||
MIDIINCAPSW caps_in;
|
MIDIINCAPSW caps_in;
|
||||||
IDirectMusicSynth8* synth;
|
IDirectMusicSynth8* synth;
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
int i;
|
ULONG i;
|
||||||
|
|
||||||
TRACE("(%p)\n", object);
|
TRACE("(%p)\n", object);
|
||||||
|
|
||||||
|
|
|
@ -251,7 +251,7 @@ static HRESULT WINAPI SynthPortImpl_IDirectMusicPort_DownloadInstrument(LPDIRECT
|
||||||
ULONG offset;
|
ULONG offset;
|
||||||
ULONG nb_regions;
|
ULONG nb_regions;
|
||||||
ULONG size;
|
ULONG size;
|
||||||
int i;
|
ULONG i;
|
||||||
|
|
||||||
TRACE("(%p/%p)->(%p, %p, %p, %d)\n", iface, This, instrument, downloaded_instrument, note_ranges, num_note_ranges);
|
TRACE("(%p/%p)->(%p, %p, %p, %d)\n", iface, This, instrument, downloaded_instrument, note_ranges, num_note_ranges);
|
||||||
|
|
||||||
|
@ -684,7 +684,7 @@ HRESULT DMUSIC_CreateSynthPortImpl(LPCGUID guid, LPVOID *object, LPUNKNOWN unkou
|
||||||
{
|
{
|
||||||
SynthPortImpl *obj;
|
SynthPortImpl *obj;
|
||||||
HRESULT hr = E_FAIL;
|
HRESULT hr = E_FAIL;
|
||||||
UINT i;
|
int i;
|
||||||
|
|
||||||
TRACE("(%p,%p,%p,%p,%p%d)\n", guid, object, unkouter, port_params, port_caps, device);
|
TRACE("(%p,%p,%p,%p,%p%d)\n", guid, object, unkouter, port_params, port_caps, device);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue