Index: sandbox/win/src/interception_unittest.cc |
diff --git a/sandbox/win/src/interception_unittest.cc b/sandbox/win/src/interception_unittest.cc |
index 7ce5724bdc5e83542abc5499df3a7a09b30bdd7f..b7a3951489515754b805f05265a717a39dd3b16a 100644 |
--- a/sandbox/win/src/interception_unittest.cc |
+++ b/sandbox/win/src/interception_unittest.cc |
@@ -93,7 +93,7 @@ TEST(InterceptionManagerTest, GetGranularAlignedRandomOffset) { |
// ciel(log2(544)) = 10. |
// Alignment must be 2^10 = 1024. |
const size_t kAlignmentBits = base::bits::Log2Ceiling(kThunkBytes); |
- const size_t kAlignment = 1 << kAlignmentBits; |
+ const size_t kAlignment = static_cast<size_t>(1) << kAlignmentBits; |
const size_t kAllocGranularity = 65536; |