mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Fix compiler warning on Windows.
This commit is contained in:
parent
6eb50b1f5b
commit
cabbde9e1e
1 changed files with 1 additions and 1 deletions
|
@ -3080,7 +3080,7 @@ PySSL_enum_cert_store(PyObject *self, PyObject *args, PyObject *kwds)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
if ((hStore = CertOpenSystemStore(NULL, store_name)) == NULL) {
|
||||
if ((hStore = CertOpenSystemStore((HCRYPTPROV)NULL, store_name)) == NULL) {
|
||||
Py_DECREF(result);
|
||||
return PyErr_SetFromWindowsErr(GetLastError());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue