mirror of
https://github.com/python/cpython.git
synced 2025-07-15 07:15:18 +00:00
Fix a compiler warning: use unsiged for maxchar in unicode_widen()
This commit is contained in:
parent
596a6c4ffc
commit
0a045efb49
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue