Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5ba1eb0 authored by Yi Kong's avatar Yi Kong Committed by Gerrit Code Review
Browse files

Merge "Fix comparing int32_t with INT64_MIN"

parents e9ad5853 af609f93
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -355,7 +355,7 @@ status_t SampleIterator::findSampleTimeAndDuration(
    if (offset > 0) {
        *time += offset;
    } else {
        *time -= (offset == INT64_MIN ? INT64_MAX : (-offset));
        *time -= (offset == INT32_MIN ? INT64_MAX : (-offset));
    }

    *duration = mTTSDuration;