Changeset 805


Ignore:
Timestamp:
Aug 21, 2006, 4:17:36 PM (15 years ago)
Author:
livings124
Message:

unsigned long long for file size

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r802 r805  
    476476            return [[NSWorkspace sharedWorkspace] iconForFileType: [[file objectForKey: @"Name"] pathExtension]];
    477477        else if ([ident isEqualToString: @"Size"])
    478             return [NSString stringForFileSize: [[file objectForKey: @"Size"] unsignedIntValue]];
     478            return [NSString stringForFileSize: [[file objectForKey: @"Size"] unsignedLongLongValue]];
    479479        else
    480480            return [[file objectForKey: @"Name"] lastPathComponent];
  • trunk/macosx/Torrent.m

    r799 r805  
    3838@end
    3939
    40 
    4140@implementation Torrent
    4241
     
    639638        [files addObject: [NSDictionary dictionaryWithObjectsAndKeys: [[self downloadFolder]
    640639            stringByAppendingPathComponent: [NSString stringWithUTF8String: file.name]], @"Name",
    641             [NSNumber numberWithUnsignedInt: file.length], @"Size", nil]];
     640            [NSNumber numberWithUnsignedLongLong: file.length], @"Size", nil]];
    642641    }
    643642   
Note: See TracChangeset for help on using the changeset viewer.