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

Unified Diff: src/log-utils.cc

Issue 1872203005: Fix printf formats (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix unused param found by GC mole Created 4 years, 8 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 | « src/log-utils.h ('k') | src/profiler/allocation-tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/log-utils.cc
diff --git a/src/log-utils.cc b/src/log-utils.cc
index ff9af685d133b042cad0980358bf579d47ad3abc..a83a0aed568d7b5e6407bb3e430cc7c3c13f3189 100644
--- a/src/log-utils.cc
+++ b/src/log-utils.cc
@@ -164,11 +164,7 @@ void Log::MessageBuilder::Append(String* str) {
}
}
-
-void Log::MessageBuilder::AppendAddress(Address addr) {
- Append("0x%" V8PRIxPTR, addr);
-}
-
+void Log::MessageBuilder::AppendAddress(Address addr) { Append("%p", addr); }
void Log::MessageBuilder::AppendSymbolName(Symbol* symbol) {
DCHECK(symbol);
« no previous file with comments | « src/log-utils.h ('k') | src/profiler/allocation-tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698