even more type changes

This commit is contained in:
Mitchell Livingston
2008-11-04 01:31:24 +00:00
parent 8fa0863467
commit ddfe1eddfc
9 changed files with 26 additions and 26 deletions

View File

@@ -112,14 +112,14 @@
return [NSString timeString: seconds showSeconds: showSeconds maxFields: NSUIntegerMax];
}
+ (NSString *) timeString: (NSUInteger) seconds showSeconds: (BOOL) showSeconds maxFields: (NSUInteger) max
+ (NSString *) timeString: (uint64_t) seconds showSeconds: (BOOL) showSeconds maxFields: (NSUInteger) max
{
NSMutableArray * timeArray = [NSMutableArray arrayWithCapacity: MIN(max, 4)];
NSUInteger remaining = seconds;
if (max > 0 && seconds >= (24 * 60 * 60))
{
NSInteger days = remaining / (24 * 60 * 60);
NSUInteger days = remaining / (24 * 60 * 60);
if (days == 1)
[timeArray addObject: NSLocalizedString(@"1 day", "time string")];
else