summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-03-28 21:21:31 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-03-28 21:21:31 +0200
commitb5f84ef1c3bb029c0c1ec0984479a7477d5cf549 (patch)
tree4795145050d9337cb240ce05f3cbae88783d51f9 /tests
parentMerge "updater: Clean up LoadSrcTgtVersion2()." am: f037b7b535 am: 51159a069d (diff)
parentapplypatch: Change the ssize_t length parameters to size_t. am: f7eb760fe7 (diff)
downloadandroid_bootable_recovery-b5f84ef1c3bb029c0c1ec0984479a7477d5cf549.tar
android_bootable_recovery-b5f84ef1c3bb029c0c1ec0984479a7477d5cf549.tar.gz
android_bootable_recovery-b5f84ef1c3bb029c0c1ec0984479a7477d5cf549.tar.bz2
android_bootable_recovery-b5f84ef1c3bb029c0c1ec0984479a7477d5cf549.tar.lz
android_bootable_recovery-b5f84ef1c3bb029c0c1ec0984479a7477d5cf549.tar.xz
android_bootable_recovery-b5f84ef1c3bb029c0c1ec0984479a7477d5cf549.tar.zst
android_bootable_recovery-b5f84ef1c3bb029c0c1ec0984479a7477d5cf549.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;