summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Python/pythonrun.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tools/python3/Python/pythonrun.c')
-rw-r--r--contrib/tools/python3/Python/pythonrun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/tools/python3/Python/pythonrun.c b/contrib/tools/python3/Python/pythonrun.c
index c4a1275eb52..632d2c56a67 100644
--- a/contrib/tools/python3/Python/pythonrun.c
+++ b/contrib/tools/python3/Python/pythonrun.c
@@ -1398,11 +1398,11 @@ get_interactive_filename(PyObject *filename, Py_ssize_t count)
if (middle == NULL) {
return NULL;
}
- result = PyUnicode_FromFormat("<%U-%d>", middle, count);
+ result = PyUnicode_FromFormat("<%U-%zd>", middle, count);
Py_DECREF(middle);
} else {
result = PyUnicode_FromFormat(
- "%U-%d", filename, count);
+ "%U-%zd", filename, count);
}
return result;