| Index: client/prune_crash_reports_test.cc
|
| diff --git a/client/prune_crash_reports_test.cc b/client/prune_crash_reports_test.cc
|
| index 6c825c810cbbd2f92af1b9257beaeef451fcaafa..50a27e182e44de3faeada9035a7e3ec49f99234e 100644
|
| --- a/client/prune_crash_reports_test.cc
|
| +++ b/client/prune_crash_reports_test.cc
|
| @@ -87,7 +87,7 @@ TEST(PruneCrashReports, SizeCondition) {
|
| for (int i = 0; i < 128; ++i)
|
| string.push_back(static_cast<char>(i));
|
|
|
| - for (int i = 0; i < 1024; i += string.size()) {
|
| + for (size_t i = 0; i < 1024; i += string.size()) {
|
| ASSERT_TRUE(LoggingWriteFile(scoped_file_1k.get(),
|
| string.c_str(), string.length()));
|
| }
|
| @@ -98,7 +98,7 @@ TEST(PruneCrashReports, SizeCondition) {
|
| FilePermissions::kOwnerOnly));
|
| ASSERT_TRUE(scoped_file_3k.is_valid());
|
|
|
| - for (int i = 0; i < 3072; i += string.size()) {
|
| + for (size_t i = 0; i < 3072; i += string.size()) {
|
| ASSERT_TRUE(LoggingWriteFile(scoped_file_3k.get(),
|
| string.c_str(), string.length()));
|
| }
|
|
|