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

Unified Diff: base/debug/crash_logging.cc

Issue 2692273008: Hacky slashy (Closed)
Patch Set: wip Created 3 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
Index: base/debug/crash_logging.cc
diff --git a/base/debug/crash_logging.cc b/base/debug/crash_logging.cc
index 32b6b05e3967312b729ec4193cb5ef960ad75097..5baed2160d6e078821b871b70dd31cb79434db42 100644
--- a/base/debug/crash_logging.cc
+++ b/base/debug/crash_logging.cc
@@ -30,7 +30,11 @@ CrashKeyMap* g_crash_keys_ = NULL;
size_t g_chunk_max_length_ = 0;
// String used to format chunked key names.
+#if !defined(OS_FUCHSIA)
const char kChunkFormatString[] = "%s-%" PRIuS;
+#else
+const char kChunkFormatString[] = "%s-%zu";
+#endif
// The functions that are called to actually set the key-value pairs in the
// crash reportng system.

Powered by Google App Engine
This is Rietveld 408576698