Show
Ignore:
Timestamp:
05/27/07 23:49:26 (2 years ago)
Author:
morris
Message:

Use NSInteger and NSUInteger everywhere

Make sure we use l in %d and %u format specifiers since they will be long on 64-bit

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • WiredClient/trunk/WCCache.h

    r4751 r4799  
    2828 
    2929@interface WCCache : WIObject { 
    30         unsigned int                          _capacity; 
     30        NSUInteger                                    _capacity; 
    3131        NSMutableDictionary                     *_files; 
    3232        NSMutableDictionary                     *_fileIcons; 
     
    3939- (id)initWithCapacity:(NSUInteger)capacity; 
    4040 
    41 - (void)setFiles:(NSArray *)files free:(unsigned long long)free forPath:(NSString *)path; 
     41- (void)setFiles:(NSArray *)files free:(WIFileOffset)free forPath:(NSString *)path; 
    4242- (void)removeFilesForPath:(NSString *)path; 
    43 - (NSArray *)filesForPath:(NSString *)path free:(unsigned long long *)free; 
     43- (NSArray *)filesForPath:(NSString *)path free:(WIFileOffset *)free; 
    4444 
    4545- (void)setFileIcon:(NSImage *)icon forExtension:(NSString *)extension;