Fix compiler warning on Windows.
This commit is contained in:
parent
6eb50b1f5b
commit
cabbde9e1e
|
@ -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…
Reference in New Issue