Fix compiler warning on Windows.

This commit is contained in:
Richard Oudkerk 2013-08-24 23:46:27 +01:00
parent 6eb50b1f5b
commit cabbde9e1e
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}