From cabbde9e1ef851ec02a181fdf5b090ca534f864e Mon Sep 17 00:00:00 2001 From: Richard Oudkerk Date: Sat, 24 Aug 2013 23:46:27 +0100 Subject: Fix compiler warning on Windows. --- Modules/_ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } -- cgit v0.12