Fix a compiler warning: use unsiged for maxchar in unicode_widen()
This commit is contained in:
parent
596a6c4ffc
commit
0a045efb49
|
@ -1556,7 +1556,7 @@ PyUnicode_Resize(PyObject **p_unicode, Py_ssize_t length)
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
unicode_widen(PyObject **p_unicode, int maxchar)
|
unicode_widen(PyObject **p_unicode, unsigned int maxchar)
|
||||||
{
|
{
|
||||||
PyObject *result;
|
PyObject *result;
|
||||||
assert(PyUnicode_IS_READY(*p_unicode));
|
assert(PyUnicode_IS_READY(*p_unicode));
|
||||||
|
|
Loading…
Reference in New Issue