summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Norman <danielnorman@google.com>2022-02-02 21:03:23 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-02-02 21:03:23 +0000
commit3e450bc0efb354eaaee77ddda945982f3ef48df2 (patch)
treef4c0b2e2397a99a4e83fd68ef6ba9fc40da9ce76
parent7153273e493ded762b754897e00aacb84da36a44 (diff)
parenta9d82696f41b794d9fb88175f03541c2652d743a (diff)
downloadcamera-3e450bc0efb354eaaee77ddda945982f3ef48df2.tar.gz
Updates int64_t printing to be arch agnostic. am: 84730e0c45 am: 152ccd931c am: a9d82696f4
Original change: https://android-review.googlesource.com/c/platform/hardware/google/camera/+/1965729 Change-Id: I6b21bc95b5cbd4611753a325f58998ff950d7d88
-rw-r--r--common/hal/hidl_service/service.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/hal/hidl_service/service.cc b/common/hal/hidl_service/service.cc
index 5acf397..630869e 100644
--- a/common/hal/hidl_service/service.cc
+++ b/common/hal/hidl_service/service.cc
@@ -23,6 +23,7 @@
#include <android/hardware/camera/provider/2.7/ICameraProvider.h>
#include <apex_update_listener.h>
#include <binder/ProcessState.h>
+#include <cinttypes>
#include <cutils/properties.h>
#include <hidl/HidlLazyUtils.h>
#include <hidl/HidlTransportSupport.h>
@@ -64,7 +65,7 @@ int main() {
});
ALOGI(
"Using ApexUpdateListener: %p Start Count: %d Current Version: %s "
- "(%ld)",
+ "(%" PRId64 ")",
start_on_update.get(), start_count, kAndroidBuildId,
kHalManifestBuildNumber);
#else