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

Unified Diff: minidump/test/minidump_context_test_util.cc

Issue 900323003: %zu to PRIuS in minidump (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@land-crash-report-db-win
Patch Set: Created 5 years, 10 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 | « minidump/minidump_thread_writer_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: minidump/test/minidump_context_test_util.cc
diff --git a/minidump/test/minidump_context_test_util.cc b/minidump/test/minidump_context_test_util.cc
index b410cd5c8606c8716186eaa6ae1e51d4a7605748..a0e06400f8d4a3fa3e6298ef12a194c40423179e 100644
--- a/minidump/test/minidump_context_test_util.cc
+++ b/minidump/test/minidump_context_test_util.cc
@@ -15,6 +15,7 @@
#include "minidump/test/minidump_context_test_util.h"
#include "base/basictypes.h"
+#include "base/format_macros.h"
#include "base/strings/stringprintf.h"
#include "gtest/gtest.h"
#include "snapshot/cpu_context.h"
@@ -183,7 +184,7 @@ void ExpectMinidumpContextFxsave(const FxsaveType* expected,
for (size_t st_mm_index = 0;
st_mm_index < arraysize(expected->st_mm);
++st_mm_index) {
- SCOPED_TRACE(base::StringPrintf("st_mm_index %zu", st_mm_index));
+ SCOPED_TRACE(base::StringPrintf("st_mm_index %" PRIuS, st_mm_index));
for (size_t byte = 0;
byte < arraysize(expected->st_mm[st_mm_index].st);
++byte) {
@@ -201,7 +202,7 @@ void ExpectMinidumpContextFxsave(const FxsaveType* expected,
for (size_t xmm_index = 0;
xmm_index < arraysize(expected->xmm);
++xmm_index) {
- SCOPED_TRACE(base::StringPrintf("xmm_index %zu", xmm_index));
+ SCOPED_TRACE(base::StringPrintf("xmm_index %" PRIuS, xmm_index));
for (size_t byte = 0; byte < arraysize(expected->xmm[xmm_index]); ++byte) {
EXPECT_EQ(expected->xmm[xmm_index][byte], observed->xmm[xmm_index][byte])
<< "byte " << byte;
« no previous file with comments | « minidump/minidump_thread_writer_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698