mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
potential fix to #2519
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user