commit | 2e68865813d6aa9442c5e9e785a217e23120abe4 | [log] [tgz] |
---|---|---|
author | Mike Klein <mtklein@chromium.org> | Tue Oct 18 12:11:07 2016 -0400 |
committer | Mike Klein <mtklein@chromium.org> | Tue Oct 18 16:34:27 2016 +0000 |
tree | 40cf9e77309ff1071b938798308d9bcc0cf025ea | |
parent | 36a77ee494791989548b717515e3621b9c4ffe4e [diff] [blame] |
Fix ASAN bot. TBR=caryclark@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3591 Change-Id: Ib80ee9c5a3277de64bcde85383ad712956118295 Reviewed-on: https://skia-review.googlesource.com/3591 Commit-Queue: Mike Klein <mtklein@chromium.org> Reviewed-by: Mike Klein <mtklein@chromium.org>
diff --git a/tests/PathOpsChalkboardTest.cpp b/tests/PathOpsChalkboardTest.cpp index 5b66013..8c74e7f 100644 --- a/tests/PathOpsChalkboardTest.cpp +++ b/tests/PathOpsChalkboardTest.cpp
@@ -142,7 +142,7 @@ for (int i = 0; i < bitCount; ++i) { int bit; do { - bit = r.nextRangeU(0, 64); + bit = r.nextRangeU(0, 63); } while (testlines & (1LL << bit)); testlines |= 1LL << bit; }