Kaydet (Commit) 0a045efb authored tarafından Victor Stinner's avatar Victor Stinner

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

üst 596a6c4f
...@@ -1556,7 +1556,7 @@ PyUnicode_Resize(PyObject **p_unicode, Py_ssize_t length) ...@@ -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));
......
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