Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Unified Diff: client/prune_crash_reports_test.cc

Issue 1397603002: Fix Windows build after f32ca63a91d9db18cc9751dd42ca015534d24afb. (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()));
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698