From: Richard Oudkerk Date: Sat, 24 Aug 2013 22:46:27 +0000 (+0100) Subject: Fix compiler warning on Windows. X-Git-Tag: v3.4.0a2~124 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cabbde9e1ef851ec02a181fdf5b090ca534f864e;p=thirdparty%2FPython%2Fcpython.git Fix compiler warning on Windows. --- diff --git a/Modules/_ssl.c b/Modules/_ssl.c index f84ef92a1881..6b43d226829c 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()); }