diff --git a/Formatters/SecondsFormatter.m b/Formatters/SecondsFormatter.m index 3dbe0c66e..c20ba9787 100644 --- a/Formatters/SecondsFormatter.m +++ b/Formatters/SecondsFormatter.m @@ -40,7 +40,7 @@ if (isinf(timeInterval)) { return @"Inf"; } BOOL isNegative = signbit(timeInterval); - + int totalSeconds = (int)(isNegative ? -timeInterval : timeInterval); int seconds = totalSeconds % 60;