bpo-28685: Fix compiler warning (GH-5423) · python/cpython@8017b80 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 8017b80
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -2028,7 +2028,8 @@ unsafe_object_compare(PyObject *v, PyObject *w, MergeState *ms) | ||
2028 | 2028 | static int |
2029 | 2029 | unsafe_latin_compare(PyObject *v, PyObject *w, MergeState *ms) |
2030 | 2030 | { |
2031 | -int len, res; | |
2031 | +Py_ssize_t len; | |
2032 | +int res; | |
2032 | 2033 | |
2033 | 2034 | /* Modified from Objects/unicodeobject.c:unicode_compare, assuming: */ |
2034 | 2035 | assert(v->ob_type == w->ob_type); |