bpo-36127: Fix compiler warning in _PyArg_UnpackKeywords(). (GH-12353)
This commit is contained in:
parent
f40b4a0b62
commit
1b0393d5b7
|
@ -2422,7 +2422,7 @@ _PyArg_UnpackKeywords(PyObject *const *args, Py_ssize_t nargs,
|
|||
}
|
||||
|
||||
/* 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) {
|
||||
keyword = PyTuple_GET_ITEM(kwtuple, i - posonly);
|
||||
if (kwargs != NULL) {
|
||||
|
|
Loading…
Reference in New Issue