Merge "Fix CAS argument type."

This commit is contained in:
Hans Boehm 2014-08-19 22:15:01 +00:00 committed by Gerrit Code Review
commit efc0b35fbd

View File

@ -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),