Index: minidump/minidump_string_writer_test.cc |
diff --git a/minidump/minidump_string_writer_test.cc b/minidump/minidump_string_writer_test.cc |
index 730d5fed98e05feb464f20f8a5ae9b26d9aa2581..2bc87180ff35cc49c07b7ec2e7dfd9a1d80d7d32 100644 |
--- a/minidump/minidump_string_writer_test.cc |
+++ b/minidump/minidump_string_writer_test.cc |
@@ -22,6 +22,7 @@ |
#include "base/basictypes.h" |
#include "base/compiler_specific.h" |
+#include "base/format_macros.h" |
#include "base/strings/string16.h" |
#include "base/strings/stringprintf.h" |
#include "base/strings/utf_string_conversions.h" |
@@ -73,7 +74,7 @@ TEST(MinidumpStringWriter, MinidumpUTF16StringWriter) { |
for (size_t index = 0; index < arraysize(kTestData); ++index) { |
SCOPED_TRACE(base::StringPrintf( |
- "index %zu, input %s", index, kTestData[index].input_string)); |
+ "index %" PRIuS ", input %s", index, kTestData[index].input_string)); |
// Make sure that the expected output string with its NUL terminator fits in |
// the space provided. |
@@ -120,8 +121,8 @@ TEST(MinidumpStringWriter, ConvertInvalidUTF8ToUTF16) { |
}; |
for (size_t index = 0; index < arraysize(kTestData); ++index) { |
- SCOPED_TRACE( |
- base::StringPrintf("index %zu, input %s", index, kTestData[index])); |
+ SCOPED_TRACE(base::StringPrintf( |
+ "index %" PRIuS ", input %s", index, kTestData[index])); |
file_writer.Reset(); |
crashpad::internal::MinidumpUTF16StringWriter string_writer; |
string_writer.SetUTF8(kTestData[index]); |
@@ -183,7 +184,7 @@ TEST(MinidumpStringWriter, MinidumpUTF8StringWriter) { |
for (size_t index = 0; index < arraysize(kTestData); ++index) { |
SCOPED_TRACE(base::StringPrintf( |
- "index %zu, input %s", index, kTestData[index].string)); |
+ "index %" PRIuS ", input %s", index, kTestData[index].string)); |
file_writer.Reset(); |
crashpad::internal::MinidumpUTF8StringWriter string_writer; |