diff options
author | yuxi <cruddev@gmail.com> | 2021-08-27 02:31:21 +0000 |
---|---|---|
committer | yuxi <cruddev@gmail.com> | 2021-08-27 02:31:28 +0000 |
commit | bca47a646669c56f6885fd3f5a0ff60ac1ce7dbe (patch) | |
tree | ed998241e1ba9cca08c50c96cf049852f43c66f9 /Parcel.cpp | |
parent | 0e4c9bc449c3a1cbf0e54cf6f30508e1aa21b551 (diff) | |
download | libhwbinder-bca47a646669c56f6885fd3f5a0ff60ac1ce7dbe.tar.gz |
[Bugfix] Fix compling error when enable LOG_REFS in system/libhwbinder/Parcel.cpp
Like change 1806797, we also try to fix the same compling problem in system/libhwbinder/Parcel.cpp when we enable LOG_REFS.
Change-Id: I74d0f6433791135945b4901108560a5c240e764e
Test: manual
Diffstat (limited to 'Parcel.cpp')
-rw-r--r-- | Parcel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -87,7 +87,7 @@ void acquire_binder_object(const sp<ProcessState>& proc, switch (obj.hdr.type) { case BINDER_TYPE_BINDER: if (obj.binder) { - LOG_REFS("Parcel %p acquiring reference on local %p", who, obj.cookie); + LOG_REFS("Parcel %p acquiring reference on local %llu", who, obj.cookie); reinterpret_cast<IBinder*>(obj.cookie)->incStrong(who); } return; @@ -133,7 +133,7 @@ void release_object(const sp<ProcessState>& proc, switch (obj.hdr.type) { case BINDER_TYPE_BINDER: if (obj.binder) { - LOG_REFS("Parcel %p releasing reference on local %p", who, obj.cookie); + LOG_REFS("Parcel %p releasing reference on local %llu", who, obj.cookie); reinterpret_cast<IBinder*>(obj.cookie)->decStrong(who); } return; |