Skip to content

Commit e7bc7aa

Browse files
segevfinerzooba
authored andcommitted
bpo-9566: Fix a warning in Python/getargs.c (python#2890)
1 parent 067931d commit e7bc7aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/getargs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2055,7 +2055,7 @@ vgetargskeywordsfast_impl(PyObject **args, Py_ssize_t nargs,
20552055

20562056
kwtuple = parser->kwtuple;
20572057
pos = parser->pos;
2058-
len = pos + PyTuple_GET_SIZE(kwtuple);
2058+
len = pos + (int)PyTuple_GET_SIZE(kwtuple);
20592059

20602060
if (len > STATIC_FREELIST_ENTRIES) {
20612061
freelist.entries = PyMem_NEW(freelistentry_t, len);

0 commit comments

Comments
 (0)