Switch to NSUInteger for 64-bit compatibility
authorDave Dribin <dave@dribin.org>
Fri Apr 16 20:15:30 2010 -0500 (2010-04-16)
changeset 5a64df9009e0b
parent 4 0020f00d61e6
child 6 9b1881e31f31
Switch to NSUInteger for 64-bit compatibility
lib/DDAudioUnit.h
lib/DDAudioUnit.m
     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];