Chromium Code Reviews| 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..4d0edb887155a71383728d166428bd0b8c6f15b3 100644 |
| --- a/net/cert/test_root_certs_win.cc |
| +++ b/net/cert/test_root_certs_win.cc |
| @@ -100,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_t store_as_uint = reinterpret_cast<uint32_t>(store_provider); |
| + uintptr_t store_as_uint = reinterpret_cast<uintptr_t>(store_provider); |
|
Will Harris
2015/11/10 18:05:14
store_as_uintptr now :)
brucedawson
2015/11/10 18:43:26
D'oh!
|
| if (store_as_uint > 0xFFFF || store_provider != CERT_STORE_PROV_SYSTEM_W || |
| !g_capi_injector.Get().original_function) |
| return FALSE; |