From 2e68865813d6aa9442c5e9e785a217e23120abe4 Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Tue, 18 Oct 2016 12:11:07 -0400 Subject: 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 Reviewed-by: Mike Klein --- tests/PathOpsChalkboardTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/PathOpsChalkboardTest.cpp') 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; } -- cgit v1.2.3