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

Unified Diff: net/cert/test_root_certs_win.cc

Issue 1158923005: Use the exact-width integer types defined in <stdint.h> rather than (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak comments. Exclude mime_sniffer*. Rebase. Created 5 years, 7 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: net/cert/test_root_certs_win.cc
diff --git a/net/cert/test_root_certs_win.cc b/net/cert/test_root_certs_win.cc
index 4e941e2a0e29c010673bfd592b37855befb71eb4..a83ac0479054f2c3d4f0fcc000d1d1cc54dfb94e 100644
--- a/net/cert/test_root_certs_win.cc
+++ b/net/cert/test_root_certs_win.cc
@@ -4,7 +4,8 @@
#include "net/cert/test_root_certs.h"
-#include "base/basictypes.h"
+#include <stdint.h>
+
#include "base/lazy_instance.h"
#include "base/logging.h"
#include "base/win/win_util.h"
@@ -99,7 +100,7 @@ BOOL WINAPI InterceptedOpenStoreW(LPCSTR store_provider,
// If the high word is all zeroes, then |store_provider| is a numeric ID.
// Otherwise, it's a pointer to a null-terminated ASCII string. See the
// documentation for CryptGetOIDFunctionAddress for more information.
- uint32 store_as_uint = reinterpret_cast<uint32>(store_provider);
+ uint32_t store_as_uint = reinterpret_cast<uint32_t>(store_provider);
if (store_as_uint > 0xFFFF || store_provider != CERT_STORE_PROV_SYSTEM_W ||
!g_capi_injector.Get().original_function)
return FALSE;

Powered by Google App Engine
This is Rietveld 408576698