1.1 --- a/lib/DDAudioUnit.h Tue Apr 13 23:53:57 2010 -0500
1.2 +++ b/lib/DDAudioUnit.h Fri Apr 16 20:15:30 2010 -0500
1.3 @@ -63,7 +63,7 @@
1.4
1.5 - (NSArray *) factoryPresets;
1.6
1.7 -- (unsigned) indexOfFactoryPreset: (DDAudioUnitPreset *) presetToFind;
1.8 +- (NSUInteger) indexOfFactoryPreset: (DDAudioUnitPreset *) presetToFind;
1.9
1.10 - (DDAudioUnitPreset *) presentPreset;
1.11 - (void) setPresentPreset: (DDAudioUnitPreset *) presentPreset;
2.1 --- a/lib/DDAudioUnit.m Tue Apr 13 23:53:57 2010 -0500
2.2 +++ b/lib/DDAudioUnit.m Fri Apr 16 20:15:30 2010 -0500
2.3 @@ -148,10 +148,10 @@
2.4 return mFactoryPresets;
2.5 }
2.6
2.7 -- (unsigned) indexOfFactoryPreset: (DDAudioUnitPreset *) presetToFind;
2.8 +- (NSUInteger) indexOfFactoryPreset: (DDAudioUnitPreset *) presetToFind;
2.9 {
2.10 - unsigned result = NSNotFound;
2.11 - unsigned i;
2.12 + NSUInteger result = NSNotFound;
2.13 + NSUInteger i;
2.14 for (i = 0; i < [mFactoryPresets count]; i++)
2.15 {
2.16 DDAudioUnitPreset * preset = [mFactoryPresets objectAtIndex: i];