summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2018-02-13 00:19:34 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-02-13 00:19:34 +0000
commit9ffad492d84c845f8fca622a75b61891c9d8eb97 (patch)
tree9f50827a4d8a7d84166c2ffc3d1ef1ab92209843
parent18973583cde17776905ca8d0e23cfa7aadb31dde (diff)
parent1fbea6148068a8daaa17ede23628399d5d847e31 (diff)
Merge "ART: Fix memcmp16_test typo"
-rw-r--r--runtime/arch/memcmp16_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/arch/memcmp16_test.cc b/runtime/arch/memcmp16_test.cc
index 2f3639c4b1..37aad21a40 100644
--- a/runtime/arch/memcmp16_test.cc
+++ b/runtime/arch/memcmp16_test.cc
@@ -100,7 +100,7 @@ static void CheckSeparate(size_t max_length, size_t min_length) {
}
size_t min = count1 < count2 ? count1 : count2;
- bool fill_same = r.next() % 1 == 1;
+ bool fill_same = r.next() % 2 == 1;
if (fill_same) {
for (size_t i = 0; i < min; ++i) {