mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-14 01:08:01 +08:00
Fix Windows build after f32ca63a91d9db18cc9751dd42ca015534d24afb.
BUG=crashpad:22 R=scottmg@chromium.org Review URL: https://codereview.chromium.org/1397603002 .
This commit is contained in:
parent
f32ca63a91
commit
efe97b8600
@ -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()));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user