diff Modules/_ssl.c @ 85372:70d1dc219eb6

Fix compiler warning on Windows.
author Richard Oudkerk <shibturn@gmail.com>
date Sat, 24 Aug 2013 23:46:27 +0100
parents 25e05147d662
children 7b1da249ab6d
line wrap: on
line diff
--- a/Modules/_ssl.c	Sat Aug 24 15:17:08 2013 -0700
+++ b/Modules/_ssl.c	Sat Aug 24 23:46:27 2013 +0100
@@ -3080,7 +3080,7 @@
         return NULL;
     }
 
-    if ((hStore = CertOpenSystemStore(NULL, store_name)) == NULL) {
+    if ((hStore = CertOpenSystemStore((HCRYPTPROV)NULL, store_name)) == NULL) {
         Py_DECREF(result);
         return PyErr_SetFromWindowsErr(GetLastError());
     }