mirror of
https://github.com/python/cpython.git
synced 2025-07-28 21:55:21 +00:00
Fix more ssize_t issues.
This commit is contained in:
parent
26fd9607c7
commit
6685128b97
6 changed files with 13 additions and 13 deletions
|
@ -3034,7 +3034,7 @@ decode_unicode(const char *s, size_t len, int rawmode, const char *encoding)
|
|||
if (*s & 0x80) { /* XXX inefficient */
|
||||
PyObject *w;
|
||||
char *r;
|
||||
int rn, i;
|
||||
Py_ssize_t rn, i;
|
||||
w = decode_utf8(&s, end, "utf-16-be");
|
||||
if (w == NULL) {
|
||||
Py_DECREF(u);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue