[Python-checkins] cpython: Fix compiler warning on Windows.

richard.oudkerk python-checkins at python.org
Sun Aug 25 00:47:23 CEST 2013


http://hg.python.org/cpython/rev/70d1dc219eb6
changeset:   85372:70d1dc219eb6
user:        Richard Oudkerk <shibturn at gmail.com>
date:        Sat Aug 24 23:46:27 2013 +0100
summary:
  Fix compiler warning on Windows.

files:
  Modules/_ssl.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/_ssl.c b/Modules/_ssl.c
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -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());
     }

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list