Commit e82082c0 authored by Victor Stinner's avatar Victor Stinner

Fix a compiler warning: use unsiged for maxchar in unicode_widen()

parent f0790f68
......@@ -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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment