diff options
author | Segev Finer <segev208@gmail.com> | 2017-07-26 15:58:25 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2017-07-26 15:58:25 (GMT) |
commit | e7bc7aac3d4a7d92aa5913006b0198820882ca59 (patch) | |
tree | a41d22c4911c482896d80784c46dbe07b40e2416 | |
parent | 067931dd95ddfa34297be9c602a796d9f8d9bea3 (diff) | |
download | cpython-e7bc7aac3d4a7d92aa5913006b0198820882ca59.zip cpython-e7bc7aac3d4a7d92aa5913006b0198820882ca59.tar.gz cpython-e7bc7aac3d4a7d92aa5913006b0198820882ca59.tar.bz2 |
bpo-9566: Fix a warning in Python/getargs.c (#2890)
-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 c61d945..471f729 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); |