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 a83ac0479054f2c3d4f0fcc000d1d1cc54dfb94e..b426980021e57281ceb76b0620d26a76c356ec7b 100644 |
--- a/net/cert/test_root_certs_win.cc |
+++ b/net/cert/test_root_certs_win.cc |
@@ -100,8 +100,8 @@ 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_t store_as_uint = reinterpret_cast<uint32_t>(store_provider); |
- if (store_as_uint > 0xFFFF || store_provider != CERT_STORE_PROV_SYSTEM_W || |
+ uintptr_t store_as_uintptr = reinterpret_cast<uintptr_t>(store_provider); |
+ if (store_as_uintptr > 0xFFFF || store_provider != CERT_STORE_PROV_SYSTEM_W || |
!g_capi_injector.Get().original_function) |
return FALSE; |