summaryrefslogtreecommitdiffstats
path: root/applypatch/imgpatch.cpp
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2016-04-19 00:39:41 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-04-19 00:39:41 +0200
commit7140a083c7d37a86ae95bb671fd5dd932b272e6b (patch)
tree3fca7568ae457f415fe41088a497f7de328afd54 /applypatch/imgpatch.cpp
parentMerge "Fix IWYU errors." am: 51dcd0d am: 405db92 (diff)
parentMerge "Fix google-runtime-int warnings." am: a1f4a1e am: bcad1d1 (diff)
downloadandroid_bootable_recovery-7140a083c7d37a86ae95bb671fd5dd932b272e6b.tar
android_bootable_recovery-7140a083c7d37a86ae95bb671fd5dd932b272e6b.tar.gz
android_bootable_recovery-7140a083c7d37a86ae95bb671fd5dd932b272e6b.tar.bz2
android_bootable_recovery-7140a083c7d37a86ae95bb671fd5dd932b272e6b.tar.lz
android_bootable_recovery-7140a083c7d37a86ae95bb671fd5dd932b272e6b.tar.xz
android_bootable_recovery-7140a083c7d37a86ae95bb671fd5dd932b272e6b.tar.zst
android_bootable_recovery-7140a083c7d37a86ae95bb671fd5dd932b272e6b.zip
Diffstat (limited to 'applypatch/imgpatch.cpp')
-rw-r--r--applypatch/imgpatch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/applypatch/imgpatch.cpp b/applypatch/imgpatch.cpp
index 4251c0120..f5aed763d 100644
--- a/applypatch/imgpatch.cpp
+++ b/applypatch/imgpatch.cpp
@@ -229,8 +229,8 @@ int ApplyImagePatch(const unsigned char* old_data, ssize_t old_size,
ssize_t have = temp_data.size() - strm.avail_out;
if (sink(temp_data.data(), have, token) != have) {
- printf("failed to write %ld compressed bytes to output\n",
- (long)have);
+ printf("failed to write %zd compressed bytes to output\n",
+ have);
return -1;
}
if (ctx) SHA1_Update(ctx, temp_data.data(), have);