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