summaryrefslogtreecommitdiffstats
path: root/PC/msvcrtmodule.c
diff options
context:
space:
mode:
authorSegev Finer <segev208@gmail.com>2017-07-27 03:15:18 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2017-07-27 03:15:18 (GMT)
commita80e985c493d2ab9df0832c99d9ddb798d2e66cf (patch)
tree379fc5c3222e18d6afb723e299e19ca91d47e4ad /PC/msvcrtmodule.c
parent2bc8f0e6867f59e5e8444b2bde99bb0fa3dbefc8 (diff)
downloadcpython-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/msvcrtmodule.c')
-rw-r--r--PC/msvcrtmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/PC/msvcrtmodule.c b/PC/msvcrtmodule.c
index fa9ad9d..81d2db3 100644
--- a/PC/msvcrtmodule.c
+++ b/PC/msvcrtmodule.c
@@ -35,7 +35,7 @@
/*[python input]
class HANDLE_converter(CConverter):
type = 'void *'
- format_unit = '"_Py_PARSE_INTPTR"'
+ format_unit = '"_Py_PARSE_UINTPTR"'
class HANDLE_return_converter(CReturnConverter):
type = 'void *'
@@ -65,7 +65,7 @@ class wchar_t_return_converter(CReturnConverter):
data.return_conversion.append(
'return_value = PyUnicode_FromOrdinal(_return_value);\n')
[python start generated code]*/
-/*[python end generated code: output=da39a3ee5e6b4b0d input=2b25dc89e9e59534]*/
+/*[python end generated code: output=da39a3ee5e6b4b0d input=d102511df3cda2eb]*/
/*[clinic input]
module msvcrt