mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
bpo-36127: Fix compiler warning in _PyArg_UnpackKeywords(). (GH-12353)
This commit is contained in:
parent
f40b4a0b62
commit
1b0393d5b7
1 changed files with 1 additions and 1 deletions
|
@ -2422,7 +2422,7 @@ _PyArg_UnpackKeywords(PyObject *const *args, Py_ssize_t nargs,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* copy keyword args using kwtuple to drive process */
|
/* copy keyword args using kwtuple to drive process */
|
||||||
for (i = Py_MAX(nargs, posonly); i < maxargs; i++) {
|
for (i = Py_MAX((int)nargs, posonly); i < maxargs; i++) {
|
||||||
if (nkwargs) {
|
if (nkwargs) {
|
||||||
keyword = PyTuple_GET_ITEM(kwtuple, i - posonly);
|
keyword = PyTuple_GET_ITEM(kwtuple, i - posonly);
|
||||||
if (kwargs != NULL) {
|
if (kwargs != NULL) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue