diff options
Diffstat (limited to 'chrome/browser/metrics_response_unittest.cc')
-rw-r--r-- | chrome/browser/metrics_response_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/metrics_response_unittest.cc b/chrome/browser/metrics_response_unittest.cc index 4e6dae6..e7c5825 100644 --- a/chrome/browser/metrics_response_unittest.cc +++ b/chrome/browser/metrics_response_unittest.cc @@ -76,7 +76,7 @@ static const struct ResponseCase { }; TEST(MetricsResponseTest, ParseResponse) { - for (int i = 0; i < arraysize(response_cases); ++i) { + for (size_t i = 0; i < arraysize(response_cases); ++i) { ResponseCase rcase = response_cases[i]; MetricsResponse response(rcase.response_xml); EXPECT_TRUE(response.valid()); @@ -101,7 +101,7 @@ TEST(MetricsResponseTest, ParseResponse) { static const char* bogus_responses[] = {"", "<respo"}; TEST(MetricsResponseTest, ParseBogusResponse) { - for (int i = 0; i < arraysize(bogus_responses); ++i) { + for (size_t i = 0; i < arraysize(bogus_responses); ++i) { MetricsResponse response(bogus_responses[i]); EXPECT_FALSE(response.valid()); } |