diff options
| author | 2014-08-19 13:42:54 -0700 | |
|---|---|---|
| committer | 2014-09-02 23:26:16 -0700 | |
| commit | 553231f65e4e8d20a6f665ba86e3785a7243595f (patch) | |
| tree | 588a257e3c617f8fc5c0dff0beb15fbace0f8701 | |
| parent | 08ff802151ea3089a5f352dfc795c99017c1d122 (diff) | |
Fix CAS argument type.
Gcc apparently doesn't check; clang does.
Bug:17067219
Change-Id: I184084a5063131dbc857c63f97e70e78a05e1a76
(cherry picked from commit 1ddaadb59883df5ca821b4b08fdd41a1720a3b6f)
| -rw-r--r-- | libs/binder/Binder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/Binder.cpp b/libs/binder/Binder.cpp index d9d4971db9..2554351cc6 100644 --- a/libs/binder/Binder.cpp +++ b/libs/binder/Binder.cpp @@ -144,7 +144,7 @@ void BBinder::attachObject( if (!e) { e = new Extras; - uintptr_t* expected = 0; + uintptr_t expected = 0; if (!atomic_compare_exchange_strong_explicit( &mExtras, &expected, reinterpret_cast<uintptr_t>(e), |