summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Python/getargs.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tools/python3/Python/getargs.c')
-rw-r--r--contrib/tools/python3/Python/getargs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tools/python3/Python/getargs.c b/contrib/tools/python3/Python/getargs.c
index e95ccec851f..13e0ae7c167 100644
--- a/contrib/tools/python3/Python/getargs.c
+++ b/contrib/tools/python3/Python/getargs.c
@@ -2189,7 +2189,7 @@ vgetargskeywordsfast_impl(PyObject *const *args, Py_ssize_t nargs,
if (i < parser->min) {
/* Less arguments than required */
if (i < pos) {
- Py_ssize_t min = Py_MIN(pos, parser->min);
+ int min = Py_MIN(pos, parser->min);
PyErr_Format(PyExc_TypeError,
"%.200s%s takes %s %d positional argument%s"
" (%zd given)",