summaryrefslogtreecommitdiff
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 477827a0a5..26f2c8b157 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -1556,7 +1556,7 @@ PyUnicode_Resize(PyObject **p_unicode, Py_ssize_t length)
}
static int
-unicode_widen(PyObject **p_unicode, int maxchar)
+unicode_widen(PyObject **p_unicode, unsigned int maxchar)
{
PyObject *result;
assert(PyUnicode_IS_READY(*p_unicode));