bpo-38465: Convert the type of exports counters to Py_ssize_t. (GH-16746)

This commit is contained in:
Hai Shi 2019-10-21 14:31:46 +08:00 committed by Serhiy Storchaka
parent 74142078b3
commit 06cd5b6acd
4 changed files with 7 additions and 7 deletions

View file

@ -43,7 +43,7 @@ typedef struct arrayobject {
Py_ssize_t allocated;
const struct arraydescr *ob_descr;
PyObject *weakreflist; /* List of weak references */
int ob_exports; /* Number of exported buffers */
Py_ssize_t ob_exports; /* Number of exported buffers */
} arrayobject;
static PyTypeObject Arraytype;