summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 19b8c28..e4426d4 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -4047,7 +4047,7 @@ PyUnicode_Join(PyObject *separator, PyObject *seq)
sz = reslen + 100; /* breathing room */
if (sz < reslen || sz > INT_MAX) /* overflow -- no breathing room */
sz = reslen;
- res = _PyUnicode_New(sz);
+ res = _PyUnicode_New((int)sz);
if (res == NULL) {
Py_DECREF(item);
goto onError;