diff options
author | Segev Finer <segev208@gmail.com> | 2017-07-27 03:15:18 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2017-07-27 03:15:18 (GMT) |
commit | a80e985c493d2ab9df0832c99d9ddb798d2e66cf (patch) | |
tree | 379fc5c3222e18d6afb723e299e19ca91d47e4ad /PC/clinic | |
parent | 2bc8f0e6867f59e5e8444b2bde99bb0fa3dbefc8 (diff) | |
download | cpython-a80e985c493d2ab9df0832c99d9ddb798d2e66cf.zip cpython-a80e985c493d2ab9df0832c99d9ddb798d2e66cf.tar.gz cpython-a80e985c493d2ab9df0832c99d9ddb798d2e66cf.tar.bz2 |
bpo-9566: Change HANDLE argument parsing to unsigned in msvcrtmodule.c (#2904)
Diffstat (limited to 'PC/clinic')
-rw-r--r-- | PC/clinic/msvcrtmodule.c.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/PC/clinic/msvcrtmodule.c.h b/PC/clinic/msvcrtmodule.c.h index debd9b0..6d7648a 100644 --- a/PC/clinic/msvcrtmodule.c.h +++ b/PC/clinic/msvcrtmodule.c.h @@ -123,7 +123,7 @@ msvcrt_open_osfhandle(PyObject *module, PyObject **args, Py_ssize_t nargs) int flags; long _return_value; - if (!_PyArg_ParseStack(args, nargs, ""_Py_PARSE_INTPTR"i:open_osfhandle", + if (!_PyArg_ParseStack(args, nargs, ""_Py_PARSE_UINTPTR"i:open_osfhandle", &handle, &flags)) { goto exit; } @@ -437,7 +437,7 @@ msvcrt_CrtSetReportFile(PyObject *module, PyObject **args, Py_ssize_t nargs) void *file; void *_return_value; - if (!_PyArg_ParseStack(args, nargs, "i"_Py_PARSE_INTPTR":CrtSetReportFile", + if (!_PyArg_ParseStack(args, nargs, "i"_Py_PARSE_UINTPTR":CrtSetReportFile", &type, &file)) { goto exit; } @@ -569,4 +569,4 @@ exit: #ifndef MSVCRT_SET_ERROR_MODE_METHODDEF #define MSVCRT_SET_ERROR_MODE_METHODDEF #endif /* !defined(MSVCRT_SET_ERROR_MODE_METHODDEF) */ -/*[clinic end generated code: output=e86cf578e7f1ffd2 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=66787cb934b8a3c2 input=a9049054013a1b77]*/ |