Unverified Kaydet (Commit) 8017b804 authored tarafından Victor Stinner's avatar Victor Stinner Kaydeden (comit) GitHub

bpo-28685: Fix compiler warning (GH-5423)

üst 51500f37
...@@ -2028,7 +2028,8 @@ unsafe_object_compare(PyObject *v, PyObject *w, MergeState *ms) ...@@ -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);
......
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