diff options
author | Segev Finer <segev208@gmail.com> | 2017-07-26 22:17:57 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2017-07-26 22:17:57 (GMT) |
commit | 679b566622ec811c5e5d580f6a538f7a43006e05 (patch) | |
tree | 52be9b1a2d2e0e567d8fa44c72a71659647460de /PC/winreg.c | |
parent | f0851910eb8e711bf8f22165cb0df33bb27b09d6 (diff) | |
download | cpython-679b566622ec811c5e5d580f6a538f7a43006e05.zip cpython-679b566622ec811c5e5d580f6a538f7a43006e05.tar.gz cpython-679b566622ec811c5e5d580f6a538f7a43006e05.tar.bz2 |
bpo-9566: Fix some Windows x64 compiler warnings (#2492)
* bpo-9566: Silence liblzma warnings
* bpo-9566: Silence tcl warnings
* bpo-9566: Silence tk warnings
* bpo-9566: Silence tix warnings
* bpo-9566: Fix some library warnings
* bpo-9566: Fix msvcrtmodule.c warnings
* bpo-9566: Silence _bz2 warnings
* bpo-9566: Fixed some _ssl warnings
* bpo-9566: Fix _msi warnings
* bpo-9566: Silence _ctypes warnings
* Revert "bpo-9566: Fixed some _ssl warnings"
This reverts commit a639001c949ba53338a9ee047d2ec1efd2505e6f.
* bpo-9566: Also consider NULL as a possible error in HANDLE_return_converter
* bpo-9566: whitespace fixes
Diffstat (limited to 'PC/winreg.c')
-rw-r--r-- | PC/winreg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/winreg.c b/PC/winreg.c index 5efdc5e..2d665f7 100644 --- a/PC/winreg.c +++ b/PC/winreg.c @@ -905,7 +905,7 @@ winreg_CreateKeyEx_impl(PyObject *module, HKEY key, Py_UNICODE *sub_key, HKEY retKey; long rc; - rc = RegCreateKeyExW(key, sub_key, reserved, NULL, (DWORD)NULL, + rc = RegCreateKeyExW(key, sub_key, reserved, NULL, 0, access, NULL, &retKey, NULL); if (rc != ERROR_SUCCESS) { PyErr_SetFromWindowsErrWithFunction(rc, "CreateKeyEx"); |