diff options
author | Segev Finer <segev208@gmail.com> | 2017-07-26 18:58:25 +0300 |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2017-07-26 08:58:25 -0700 |
commit | e7bc7aac3d4a7d92aa5913006b0198820882ca59 (patch) | |
tree | a41d22c4911c482896d80784c46dbe07b40e2416 /Python/getargs.c | |
parent | 067931dd95ddfa34297be9c602a796d9f8d9bea3 (diff) | |
download | cpython-git-e7bc7aac3d4a7d92aa5913006b0198820882ca59.tar.gz |
bpo-9566: Fix a warning in Python/getargs.c (#2890)
Diffstat (limited to 'Python/getargs.c')
-rw-r--r-- | Python/getargs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/getargs.c b/Python/getargs.c index c61d945189..471f72924f 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -2055,7 +2055,7 @@ vgetargskeywordsfast_impl(PyObject **args, Py_ssize_t nargs, kwtuple = parser->kwtuple; pos = parser->pos; - len = pos + PyTuple_GET_SIZE(kwtuple); + len = pos + (int)PyTuple_GET_SIZE(kwtuple); if (len > STATIC_FREELIST_ENTRIES) { freelist.entries = PyMem_NEW(freelistentry_t, len); |