Fix google-runtime-int warnings.

Bug: 28220065
Change-Id: Ida199c66692a1638be6990d583d2ed42583fb592
This commit is contained in:
Chih-Hung Hsieh
2016-04-18 12:29:30 -07:00
parent 51dcd0da37
commit 54a2747ef3
12 changed files with 53 additions and 46 deletions
+2 -2
View File
@@ -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);