Module: wine Branch: master Commit: 00f85d7fc335a748360299f585b412164ac69bc1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=00f85d7fc335a748360299f585...
Author: Andrew Talbot andrew.talbot@talbotville.com Date: Tue Jan 15 22:26:59 2013 +0000
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 bdefe3a..0c2584f 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 55d0dad..459fdb8 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);