diff options
author | Mike Klein <mtklein@chromium.org> | 2016-10-18 12:11:07 -0400 |
---|---|---|
committer | Mike Klein <mtklein@chromium.org> | 2016-10-18 16:34:27 +0000 |
commit | 2e68865813d6aa9442c5e9e785a217e23120abe4 (patch) | |
tree | 40cf9e77309ff1071b938798308d9bcc0cf025ea /tests/PathOpsChalkboardTest.cpp | |
parent | 36a77ee494791989548b717515e3621b9c4ffe4e (diff) |
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>
Diffstat (limited to 'tests/PathOpsChalkboardTest.cpp')
-rw-r--r-- | tests/PathOpsChalkboardTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PathOpsChalkboardTest.cpp b/tests/PathOpsChalkboardTest.cpp index 5b6601336a..8c74e7f98d 100644 --- a/tests/PathOpsChalkboardTest.cpp +++ b/tests/PathOpsChalkboardTest.cpp @@ -142,7 +142,7 @@ static void chalkboard_threaded(skiatest::Reporter* reporter, const char* filena 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; } |