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

Commit a70a8d9a authored by Lajos Molnar's avatar Lajos Molnar Committed by Android (Google) Code Review
Browse files

Merge "stagefright: fix casting error in AMessage::findAsInt64"

parents f71a3c25 321218af
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -246,10 +246,10 @@ bool AMessage::findAsInt64(const char *name, int64_t *value) const {
        const Item *item = &mItems[i];
        switch (item->mType) {
            case kTypeInt64:
                *value = (float)item->u.int64Value;
                *value = item->u.int64Value;
                return true;
            case kTypeInt32:
                *value = (float)item->u.int32Value;
                *value = item->u.int32Value;
                return true;
            default:
                return false;