summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Norman <danielnorman@google.com>2022-02-02 20:46:32 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-02-02 20:46:32 +0000
commita9d82696f41b794d9fb88175f03541c2652d743a (patch)
tree74a28001665ae75c3a8b15617eae17638b8483ae
parentd2eb3944c23816358eb3cd7002a3936b9d05a3cd (diff)
parent152ccd931c84348ef52d8714562d38cd63e33ed8 (diff)
downloadcamera-a9d82696f41b794d9fb88175f03541c2652d743a.tar.gz
Updates int64_t printing to be arch agnostic. am: 84730e0c45 am: 152ccd931c
Original change: https://android-review.googlesource.com/c/platform/hardware/google/camera/+/1965729 Change-Id: If7cf8aa5dcdcac2abc4862a56d32401d4fdd0e24
-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