aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathOpsChalkboardTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PathOpsChalkboardTest.cpp')
-rw-r--r--tests/PathOpsChalkboardTest.cpp2
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;
}