Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cabbde9

Browse files
committed
Fix compiler warning on Windows.
1 parent 6eb50b1 commit cabbde9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_ssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3080,7 +3080,7 @@ PySSL_enum_cert_store(PyObject *self, PyObject *args, PyObject *kwds)
30803080
return NULL;
30813081
}
30823082

3083-
if ((hStore = CertOpenSystemStore(NULL, store_name)) == NULL) {
3083+
if ((hStore = CertOpenSystemStore((HCRYPTPROV)NULL, store_name)) == NULL) {
30843084
Py_DECREF(result);
30853085
return PyErr_SetFromWindowsErr(GetLastError());
30863086
}

0 commit comments

Comments
 (0)