diff --git a/mozglue/misc/TimeStamp_posix.cpp b/mozglue/misc/TimeStamp_posix.cpp index 05deddea49ac..2f7f86d32acd 100644 --- a/mozglue/misc/TimeStamp_posix.cpp +++ b/mozglue/misc/TimeStamp_posix.cpp @@ -154,7 +154,8 @@ BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double aMilliseconds) double result = aMilliseconds * kNsPerMsd; if (result > INT64_MAX) { return INT64_MAX; - } else if (result < INT64_MIN) { + } + if (result < INT64_MIN) { return INT64_MIN; }