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