mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-28685: Fix compiler warning (GH-5423)
This commit is contained in:
parent
51500f3745
commit
8017b804a0
1 changed files with 2 additions and 1 deletions
|
@ -2028,7 +2028,8 @@ unsafe_object_compare(PyObject *v, PyObject *w, MergeState *ms)
|
|||
static int
|
||||
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: */
|
||||
assert(v->ob_type == w->ob_type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue