summaryrefslogtreecommitdiffstats
path: root/tests/component
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-03-28 21:11:06 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-03-28 21:11:06 +0200
commitd4d9ef3941b074d1adb21b98b330991d40fc4cca (patch)
tree5f80e6c423b0206e0fceace93827191c965348d9 /tests/component
parentMerge "updater: Clean up LoadSrcTgtVersion2()." (diff)
parentapplypatch: Change the ssize_t length parameters to size_t. (diff)
downloadandroid_bootable_recovery-d4d9ef3941b074d1adb21b98b330991d40fc4cca.tar
android_bootable_recovery-d4d9ef3941b074d1adb21b98b330991d40fc4cca.tar.gz
android_bootable_recovery-d4d9ef3941b074d1adb21b98b330991d40fc4cca.tar.bz2
android_bootable_recovery-d4d9ef3941b074d1adb21b98b330991d40fc4cca.tar.lz
android_bootable_recovery-d4d9ef3941b074d1adb21b98b330991d40fc4cca.tar.xz
android_bootable_recovery-d4d9ef3941b074d1adb21b98b330991d40fc4cca.tar.zst
android_bootable_recovery-d4d9ef3941b074d1adb21b98b330991d40fc4cca.zip
Diffstat (limited to 'tests/component')
-rw-r--r--tests/component/imgdiff_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/component/imgdiff_test.cpp b/tests/component/imgdiff_test.cpp
index 2f648501c..64e1f2990 100644
--- a/tests/component/imgdiff_test.cpp
+++ b/tests/component/imgdiff_test.cpp
@@ -27,7 +27,7 @@
using android::base::get_unaligned;
-static ssize_t MemorySink(const unsigned char* data, ssize_t len, void* token) {
+static size_t MemorySink(const unsigned char* data, size_t len, void* token) {
std::string* s = static_cast<std::string*>(token);
s->append(reinterpret_cast<const char*>(data), len);
return len;