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

Unified Diff: ipc/handle_win.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 | « content/common/sandbox_win.cc ('k') | ipc/ipc_message_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/handle_win.cc
diff --git a/ipc/handle_win.cc b/ipc/handle_win.cc
index 5d259059264724e8680f05f05feb00b3d4f47d72..51f3f95fb055c20af0497ec5ad6931ee0d8042a1 100644
--- a/ipc/handle_win.cc
+++ b/ipc/handle_win.cc
@@ -48,7 +48,7 @@ bool ParamTraits<HandleWin>::Read(const Message* m,
// static
void ParamTraits<HandleWin>::Log(const param_type& p, std::string* l) {
- l->append(base::StringPrintf("0x%X", p.get_handle()));
+ l->append(base::StringPrintf("0x%p", p.get_handle()));
l->append(base::IntToString(p.get_permissions()));
}
« no previous file with comments | « content/common/sandbox_win.cc ('k') | ipc/ipc_message_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698