diff options
author | Hans Boehm <hboehm@google.com> | 2014-08-19 13:42:54 -0700 |
---|---|---|
committer | Hans Boehm <hboehm@google.com> | 2014-08-19 13:42:54 -0700 |
commit | 1ddaadb59883df5ca821b4b08fdd41a1720a3b6f (patch) | |
tree | 7f712f5209c790f6ccc86c16e3790058e9ae5cd4 /libs/binder/Binder.cpp | |
parent | a0187a9c83cb042b4cb92dac59214247bb7affcf (diff) | |
download | frameworks_native-1ddaadb59883df5ca821b4b08fdd41a1720a3b6f.zip frameworks_native-1ddaadb59883df5ca821b4b08fdd41a1720a3b6f.tar.gz frameworks_native-1ddaadb59883df5ca821b4b08fdd41a1720a3b6f.tar.bz2 |
Fix CAS argument type.
Gcc apparently doesn't check; clang does.
Bug:17067219
Change-Id: I184084a5063131dbc857c63f97e70e78a05e1a76
Diffstat (limited to 'libs/binder/Binder.cpp')
-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 d9d4971..2554351 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), |