use NSIntegerMax and NSUIntegerMax

This commit is contained in:
Mitchell Livingston
2008-11-03 03:41:49 +00:00
parent dad56ccc62
commit 98e5967dfc
2 changed files with 2 additions and 3 deletions

View File

@@ -109,7 +109,7 @@
+ (NSString *) timeString: (uint64_t) seconds showSeconds: (BOOL) showSeconds
{
return [NSString timeString: seconds showSeconds: showSeconds maxFields: UINT_MAX];
return [NSString timeString: seconds showSeconds: showSeconds maxFields: NSUIntegerMax];
}
+ (NSString *) timeString: (NSUInteger) seconds showSeconds: (BOOL) showSeconds maxFields: (NSUInteger) max