Index: webrtc/system_wrappers/source/aligned_array_unittest.cc |
diff --git a/webrtc/system_wrappers/source/aligned_array_unittest.cc b/webrtc/system_wrappers/source/aligned_array_unittest.cc |
index f25c7178d21635533ef410f7230b2e20d12bfafd..db744d2ad536e95e339cd5e7ce00539107e75f6f 100644 |
--- a/webrtc/system_wrappers/source/aligned_array_unittest.cc |
+++ b/webrtc/system_wrappers/source/aligned_array_unittest.cc |
@@ -34,16 +34,16 @@ TEST(AlignedArrayTest, CheckAlignment) { |
} |
TEST(AlignedArrayTest, CheckOverlap) { |
- AlignedArray<int> arr(10, 7, 128); |
+ AlignedArray<size_t> arr(10, 7, 128); |
for (int i = 0; i < 10; ++i) { |
- for (int j = 0; j < 7; ++j) { |
+ for (size_t j = 0; j < 7; ++j) { |
arr.At(i, j) = 20 * i + j; |
} |
} |
for (int i = 0; i < 10; ++i) { |
- for (int j = 0; j < 7; ++j) { |
+ for (size_t j = 0; j < 7; ++j) { |
ASSERT_EQ(arr.At(i, j), 20 * i + j); |
ASSERT_EQ(arr.Row(i)[j], 20 * i + j); |
ASSERT_EQ(arr.Array()[i][j], 20 * i + j); |
@@ -54,7 +54,7 @@ TEST(AlignedArrayTest, CheckOverlap) { |
TEST(AlignedArrayTest, CheckRowsCols) { |
AlignedArray<bool> arr(10, 7, 128); |
ASSERT_EQ(arr.rows(), 10); |
- ASSERT_EQ(arr.cols(), 7); |
+ ASSERT_EQ(arr.cols(), 7U); |
pbos-webrtc
2015/07/13 08:13:30
7u imo, not going to be annoying about it
Peter Kasting
2015/07/16 23:59:43
Done.
|
} |
} // namespace webrtc |