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

Unified Diff: util/stdlib/strlcpy_test.cc

Issue 849193002: win: Some %zu to PRIuS (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: fix include order Created 5 years, 11 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 | « util/numeric/checked_range_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/stdlib/strlcpy_test.cc
diff --git a/util/stdlib/strlcpy_test.cc b/util/stdlib/strlcpy_test.cc
index 0fac9e0e2dd97398f25aee9c5fcc107d5a4009cc..b9af201372aa2860df65fc0555a40cf22d54fce3 100644
--- a/util/stdlib/strlcpy_test.cc
+++ b/util/stdlib/strlcpy_test.cc
@@ -19,6 +19,7 @@
#include <algorithm>
#include "base/basictypes.h"
+#include "base/format_macros.h"
#include "base/strings/string16.h"
#include "base/strings/stringprintf.h"
#include "gtest/gtest.h"
@@ -45,9 +46,10 @@ TEST(strlcpy, c16lcpy) {
for (size_t index = 0; index < arraysize(test_characters); ++index) {
base::char16 test_character = test_characters[index];
SCOPED_TRACE(base::StringPrintf(
- "character index %zu, character 0x%x", index, test_character));
+ "character index %" PRIuS ", character 0x%x", index, test_character));
for (size_t length = 0; length < 256; ++length) {
- SCOPED_TRACE(base::StringPrintf("index %zu", length));
+ SCOPED_TRACE(
+ base::StringPrintf("index %" PRIuS, length));
base::string16 test_string(length, test_character);
TestBuffer destination;
« no previous file with comments | « util/numeric/checked_range_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698