summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorRichard Oudkerk <shibturn@gmail.com>2013-08-24 22:46:27 (GMT)
committerRichard Oudkerk <shibturn@gmail.com>2013-08-24 22:46:27 (GMT)
commitcabbde9e1ef851ec02a181fdf5b090ca534f864e (patch)
tree786cd3e583d383a666149ccf8815371a375a1b4a /Modules
parent6eb50b1f5b7c7406a06f77862db9234737b4e0f2 (diff)
downloadcpython-cabbde9e1ef851ec02a181fdf5b090ca534f864e.zip
cpython-cabbde9e1ef851ec02a181fdf5b090ca534f864e.tar.gz
cpython-cabbde9e1ef851ec02a181fdf5b090ca534f864e.tar.bz2
Fix compiler warning on Windows.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index f84ef92..6b43d22 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -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());
}