bpo-28685: Fix compiler warning (GH-5423)
This commit is contained in:
@@ -2028,7 +2028,8 @@ unsafe_object_compare(PyObject *v, PyObject *w, MergeState *ms)
|
|||||||
static int
|
static int
|
||||||
unsafe_latin_compare(PyObject *v, PyObject *w, MergeState *ms)
|
unsafe_latin_compare(PyObject *v, PyObject *w, MergeState *ms)
|
||||||
{
|
{
|
||||||
int len, res;
|
Py_ssize_t len;
|
||||||
|
int res;
|
||||||
|
|
||||||
/* Modified from Objects/unicodeobject.c:unicode_compare, assuming: */
|
/* Modified from Objects/unicodeobject.c:unicode_compare, assuming: */
|
||||||
assert(v->ob_type == w->ob_type);
|
assert(v->ob_type == w->ob_type);
|
||||||
|
|||||||
Reference in New Issue
Block a user