summaryrefslogtreecommitdiff
path: root/Parcel.cpp
diff options
context:
space:
mode:
authoryuxi <cruddev@gmail.com>2021-08-27 02:31:21 +0000
committeryuxi <cruddev@gmail.com>2021-08-27 02:31:28 +0000
commitbca47a646669c56f6885fd3f5a0ff60ac1ce7dbe (patch)
treeed998241e1ba9cca08c50c96cf049852f43c66f9 /Parcel.cpp
parent0e4c9bc449c3a1cbf0e54cf6f30508e1aa21b551 (diff)
downloadlibhwbinder-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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Parcel.cpp b/Parcel.cpp
index adafaab..d95b0c3 100644
--- a/Parcel.cpp
+++ b/Parcel.cpp
@@ -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;