commit | cabbde9e1ef851ec02a181fdf5b090ca534f864e | [log] [tgz] |
---|---|---|
author | Richard Oudkerk <shibturn@gmail.com> | Sat Aug 24 23:46:27 2013 +0100 |
committer | Richard Oudkerk <shibturn@gmail.com> | Sat Aug 24 23:46:27 2013 +0100 |
tree | 786cd3e583d383a666149ccf8815371a375a1b4a | |
parent | 6eb50b1f5b7c7406a06f77862db9234737b4e0f2 [diff] [blame] |
Fix compiler warning on Windows.
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 @@ return NULL; } - if ((hStore = CertOpenSystemStore(NULL, store_name)) == NULL) { + if ((hStore = CertOpenSystemStore((HCRYPTPROV)NULL, store_name)) == NULL) { Py_DECREF(result); return PyErr_SetFromWindowsErr(GetLastError()); }