summaryrefslogtreecommitdiffstats
path: root/applypatch/imgpatch.cpp
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2016-04-19 00:19:06 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-04-19 00:19:06 +0200
commita1f4a1ec3319ee1ab869a46805bff63550b56ca7 (patch)
treead6f90bea569c5f01bbf9485e356dcdb035d79c5 /applypatch/imgpatch.cpp
parentMerge "Fix IWYU errors." (diff)
parentFix google-runtime-int warnings. (diff)
downloadandroid_bootable_recovery-a1f4a1ec3319ee1ab869a46805bff63550b56ca7.tar
android_bootable_recovery-a1f4a1ec3319ee1ab869a46805bff63550b56ca7.tar.gz
android_bootable_recovery-a1f4a1ec3319ee1ab869a46805bff63550b56ca7.tar.bz2
android_bootable_recovery-a1f4a1ec3319ee1ab869a46805bff63550b56ca7.tar.lz
android_bootable_recovery-a1f4a1ec3319ee1ab869a46805bff63550b56ca7.tar.xz
android_bootable_recovery-a1f4a1ec3319ee1ab869a46805bff63550b56ca7.tar.zst
android_bootable_recovery-a1f4a1ec3319ee1ab869a46805bff63550b56ca7.zip
Diffstat (limited to '')
-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);