From 0a825a1aa483a901eab4f5735f577979f84fb0ab Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 15 Jul 2014 00:09:48 -0400 Subject: [PATCH] SPU2-X: Fix some signed/unsigned mismatch warnings. --- plugins/spu2-x/src/Mixer.cpp | 4 ++-- plugins/spu2-x/src/Reverb.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/spu2-x/src/Mixer.cpp b/plugins/spu2-x/src/Mixer.cpp index 2ad77d762f..64c47bd44c 100644 --- a/plugins/spu2-x/src/Mixer.cpp +++ b/plugins/spu2-x/src/Mixer.cpp @@ -116,7 +116,7 @@ static void __forceinline IncrementNextA(V_Core& thiscore, uint voiceidx) // Important! Both cores signal IRQ when an address is read, regardless of // which core actually reads the address. - for( uint i=0; i<2; i++ ) + for( int i=0; i<2; i++ ) { if( Cores[i].IRQEnable && (vc.NextA==Cores[i].IRQA ) ) { @@ -522,7 +522,7 @@ static __forceinline s32 GetNoiseValues( V_Core& thiscore, uint voiceidx ) static __forceinline void spu2M_WriteFast( u32 addr, s16 value ) { // Fixes some of the oldest hangs in pcsx2's history! :p - for( uint i=0; i<2; i++ ) + for( int i=0; i<2; i++ ) { if( Cores[i].IRQEnable && Cores[i].IRQA == addr ) { diff --git a/plugins/spu2-x/src/Reverb.cpp b/plugins/spu2-x/src/Reverb.cpp index 0e985587d0..a56bf2de07 100644 --- a/plugins/spu2-x/src/Reverb.cpp +++ b/plugins/spu2-x/src/Reverb.cpp @@ -140,7 +140,7 @@ StereoOut32 V_Core::DoReverb( const StereoOut32& Input ) // within that zone then the "bulk" of the test is skipped, so this should only // be a slowdown on a few evil games. - for( uint i=0; i<2; i++ ) + for( int i=0; i<2; i++ ) { if( Cores[i].IRQEnable && ((Cores[i].IRQA >= EffectsStartA) && (Cores[i].IRQA <= EffectsEndA)) ) {