summaryrefslogtreecommitdiffstats
path: root/twinstall.cpp
diff options
context:
space:
mode:
authorSimon Shi <simonsmh@gmail.com>2019-03-09 06:01:55 +0100
committerEthan Yonker <dees_troy@teamw.in>2019-03-22 22:32:39 +0100
commit8ae2b0d5dd68b535aa81fb4ba6e3657d1bfe2b12 (patch)
treee62e0699a7665e2467a7da167c975eb5074662fd /twinstall.cpp
parentdosfstools: Fix compile error in Pie tree on 32 bit systems (diff)
downloadandroid_bootable_recovery-8ae2b0d5dd68b535aa81fb4ba6e3657d1bfe2b12.tar
android_bootable_recovery-8ae2b0d5dd68b535aa81fb4ba6e3657d1bfe2b12.tar.gz
android_bootable_recovery-8ae2b0d5dd68b535aa81fb4ba6e3657d1bfe2b12.tar.bz2
android_bootable_recovery-8ae2b0d5dd68b535aa81fb4ba6e3657d1bfe2b12.tar.lz
android_bootable_recovery-8ae2b0d5dd68b535aa81fb4ba6e3657d1bfe2b12.tar.xz
android_bootable_recovery-8ae2b0d5dd68b535aa81fb4ba6e3657d1bfe2b12.tar.zst
android_bootable_recovery-8ae2b0d5dd68b535aa81fb4ba6e3657d1bfe2b12.zip
Diffstat (limited to 'twinstall.cpp')
-rw-r--r--twinstall.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/twinstall.cpp b/twinstall.cpp
index f451ca551..fa6b8594e 100644
--- a/twinstall.cpp
+++ b/twinstall.cpp
@@ -198,7 +198,7 @@ static bool update_binary_has_legacy_properties(const char *binary) {
void *data = mmap(NULL, finfo.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
if (data == MAP_FAILED) {
- LOGINFO("has_legacy_properties: mmap (size=%zu) failed: %s!\n", finfo.st_size, strerror(errno));
+ LOGINFO("has_legacy_properties: mmap (size=%zu) failed: %s!\n", (size_t)finfo.st_size, strerror(errno));
} else {
if (memmem(data, finfo.st_size, str_to_match, len_to_match)) {
LOGINFO("has_legacy_properties: Found legacy property match!\n");