1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-22 22:20:39 +00:00

potential fix to #2519

This commit is contained in:
Mitchell Livingston 2009-10-26 23:43:15 +00:00
parent be61ded9de
commit e38c3c8165

View file

@ -115,7 +115,7 @@
+ (NSString *) timeString: (uint64_t) seconds showSeconds: (BOOL) showSeconds maxFields: (NSUInteger) max
{
NSMutableArray * timeArray = [NSMutableArray arrayWithCapacity: MIN(max, 4)];
uint64_t remaining = seconds;
NSUInteger remaining = seconds; //causes problems for some users when it's a uint64_t
if (max > 0 && seconds >= (24 * 60 * 60))
{