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

Unified Diff: tools/win/static_initializers/static_initializers.cc

Issue 543923002: win/clang: Fix all remaining -Wformat warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 6 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
Index: tools/win/static_initializers/static_initializers.cc
diff --git a/tools/win/static_initializers/static_initializers.cc b/tools/win/static_initializers/static_initializers.cc
index a09715ee47263a71aa846cb79117b4cfcb3c2c21..440bb9de8339cf4d166d2fcc358954c68e101d04 100644
--- a/tools/win/static_initializers/static_initializers.cc
+++ b/tools/win/static_initializers/static_initializers.cc
@@ -26,7 +26,7 @@ static bool LoadDataFromPdb(const wchar_t* filename,
(void**)source);
if (FAILED(hr)) {
- printf("CoCreateInstance failed - HRESULT = %08X\n", hr);
+ printf("CoCreateInstance failed - HRESULT = %08lX\n", hr);
return false;
}
@@ -36,7 +36,7 @@ static bool LoadDataFromPdb(const wchar_t* filename,
// Open and prepare the debug data associated with the executable.
hr = (*source)->loadDataForExe(filename, search_path, NULL);
if (FAILED(hr)) {
- printf("loadDataForExe failed - HRESULT = %08X\n", hr);
+ printf("loadDataForExe failed - HRESULT = %08lX\n", hr);
return false;
}
@@ -44,7 +44,7 @@ static bool LoadDataFromPdb(const wchar_t* filename,
hr = (*source)->openSession(session);
if (FAILED(hr)) {
- printf("openSession failed - HRESULT = %08X\n", hr);
+ printf("openSession failed - HRESULT = %08lX\n", hr);
return false;
}
« net/tools/dump_cache/upgrade_win.cc ('K') | « sandbox/win/sandbox_poc/pocdll/spyware.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698