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

Unified Diff: ipc/ipc_message_utils.cc

Issue 1372153002: Detecting and fixing stringprintf.h format bugs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Separate #if defined blocks. Created 5 years, 3 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 | « ipc/handle_win.cc ('k') | mojo/fetcher/network_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_message_utils.cc
diff --git a/ipc/ipc_message_utils.cc b/ipc/ipc_message_utils.cc
index 5c0c49344988b9b19b76abdd61e6c040b6dad493..009ce4669514a932aafd911fe8f09a2229ba9bfe 100644
--- a/ipc/ipc_message_utils.cc
+++ b/ipc/ipc_message_utils.cc
@@ -949,7 +949,7 @@ bool ParamTraits<HANDLE>::Read(const Message* m,
}
void ParamTraits<HANDLE>::Log(const param_type& p, std::string* l) {
- l->append(base::StringPrintf("0x%X", p));
+ l->append(base::StringPrintf("0x%p", p));
}
void ParamTraits<LOGFONT>::Write(Message* m, const param_type& p) {
« no previous file with comments | « ipc/handle_win.cc ('k') | mojo/fetcher/network_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698