From 00f85d7fc335a748360299f585b412164ac69bc1 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Tue, 15 Jan 2013 22:26:59 +0000 Subject: [PATCH] dmusic: Avoid signed-unsigned integer comparisons. --- dlls/dmusic/dmusic.c | 2 +- dlls/dmusic/port.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/dmusic/dmusic.c b/dlls/dmusic/dmusic.c index bdefe3ac469..0c2584f3d68 100644 --- a/dlls/dmusic/dmusic.c +++ b/dlls/dmusic/dmusic.c @@ -316,7 +316,7 @@ static void create_system_ports_list(IDirectMusic8Impl* object) MIDIINCAPSW caps_in; IDirectMusicSynth8* synth; HRESULT hr; - int i; + ULONG i; TRACE("(%p)\n", object); diff --git a/dlls/dmusic/port.c b/dlls/dmusic/port.c index 55d0dad31a0..459fdb8cd5c 100644 --- a/dlls/dmusic/port.c +++ b/dlls/dmusic/port.c @@ -251,7 +251,7 @@ static HRESULT WINAPI SynthPortImpl_IDirectMusicPort_DownloadInstrument(LPDIRECT ULONG offset; ULONG nb_regions; ULONG size; - int i; + ULONG i; 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; HRESULT hr = E_FAIL; - UINT i; + int i; TRACE("(%p,%p,%p,%p,%p%d)\n", guid, object, unkouter, port_params, port_caps, device);