summaryrefslogtreecommitdiffstats
path: root/applypatch/imgpatch.cpp
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-04-18 20:30:55 +0200
committerChih-Hung Hsieh <chh@google.com>2016-04-18 21:29:30 +0200
commit54a2747ef305c10d07d8db393125dbcbb461c428 (patch)
treead6f90bea569c5f01bbf9485e356dcdb035d79c5 /applypatch/imgpatch.cpp
parentMerge "Fix IWYU errors." (diff)
downloadandroid_bootable_recovery-54a2747ef305c10d07d8db393125dbcbb461c428.tar
android_bootable_recovery-54a2747ef305c10d07d8db393125dbcbb461c428.tar.gz
android_bootable_recovery-54a2747ef305c10d07d8db393125dbcbb461c428.tar.bz2
android_bootable_recovery-54a2747ef305c10d07d8db393125dbcbb461c428.tar.lz
android_bootable_recovery-54a2747ef305c10d07d8db393125dbcbb461c428.tar.xz
android_bootable_recovery-54a2747ef305c10d07d8db393125dbcbb461c428.tar.zst
android_bootable_recovery-54a2747ef305c10d07d8db393125dbcbb461c428.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);