Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8017b80

Browse files
authored
bpo-28685: Fix compiler warning (GH-5423)
1 parent 51500f3 commit 8017b80

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Objects/listobject.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2028,7 +2028,8 @@ unsafe_object_compare(PyObject *v, PyObject *w, MergeState *ms)
20282028
static int
20292029
unsafe_latin_compare(PyObject *v, PyObject *w, MergeState *ms)
20302030
{
2031-
int len, res;
2031+
Py_ssize_t len;
2032+
int res;
20322033

20332034
/* Modified from Objects/unicodeobject.c:unicode_compare, assuming: */
20342035
assert(v->ob_type == w->ob_type);

0 commit comments

Comments
 (0)