summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-03-28 00:12:48 +0200
committerTao Bao <tbao@google.com>2017-03-28 19:13:38 +0200
commitf7eb760fe76cb66c5d5341b03d6a66cc1f06d795 (patch)
tree150376048a310df4ac1f873bdf487ad9edf15e2d /tests
parentMerge "updater: Clean up LoadSrcTgtVersion2()." (diff)
downloadandroid_bootable_recovery-f7eb760fe76cb66c5d5341b03d6a66cc1f06d795.tar
android_bootable_recovery-f7eb760fe76cb66c5d5341b03d6a66cc1f06d795.tar.gz
android_bootable_recovery-f7eb760fe76cb66c5d5341b03d6a66cc1f06d795.tar.bz2
android_bootable_recovery-f7eb760fe76cb66c5d5341b03d6a66cc1f06d795.tar.lz
android_bootable_recovery-f7eb760fe76cb66c5d5341b03d6a66cc1f06d795.tar.xz
android_bootable_recovery-f7eb760fe76cb66c5d5341b03d6a66cc1f06d795.tar.zst
android_bootable_recovery-f7eb760fe76cb66c5d5341b03d6a66cc1f06d795.zip
Diffstat (limited to 'tests')
-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;