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

Commit 98e56d92 authored by Hans Boehm's avatar Hans Boehm Committed by Android (Google) Code Review
Browse files

Merge "Fix CAS argument type." into lmp-dev

parents 19f8b79f 553231f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -144,7 +144,7 @@ void BBinder::attachObject(


    if (!e) {
    if (!e) {
        e = new Extras;
        e = new Extras;
        uintptr_t* expected = 0;
        uintptr_t expected = 0;
        if (!atomic_compare_exchange_strong_explicit(
        if (!atomic_compare_exchange_strong_explicit(
                                        &mExtras, &expected,
                                        &mExtras, &expected,
                                        reinterpret_cast<uintptr_t>(e),
                                        reinterpret_cast<uintptr_t>(e),