Index: tests/RandomTest.cpp |
diff --git a/tests/RandomTest.cpp b/tests/RandomTest.cpp |
index 8d93d87df6cd7fafbfc11630244b7865217bb580..448f07340f41bbf488ac81246871377677a6f407 100644 |
--- a/tests/RandomTest.cpp |
+++ b/tests/RandomTest.cpp |
@@ -119,7 +119,7 @@ static double test_single_gorilla(skiatest::Reporter* reporter, int shift) { |
// now make some strings and track them |
for (int i = 0; i < kN; ++i) { |
- value <<= 1; |
+ value = SkLeftShift(value, 1); |
unsigned int rnd = rand.nextU(); |
value |= ((rnd >> shift) & 0x1); |