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:
parent
be61ded9de
commit
e38c3c8165
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue