summaryrefslogtreecommitdiff
path: root/Modules/arraymodule.c
diff options
context:
space:
mode:
authorHai Shi <shihai1992@gmail.com>2019-10-21 14:31:46 +0800
committerSerhiy Storchaka <storchaka@gmail.com>2019-10-21 09:31:46 +0300
commit06cd5b6acd98205adae1a3ea4223e88f38ad55ab (patch)
treed4885a7094f79264d7a714c3b5f8d4cad813d16f /Modules/arraymodule.c
parent74142078b3b78fea7b4cd791e5c577c0c0964eb7 (diff)
downloadcpython-git-06cd5b6acd98205adae1a3ea4223e88f38ad55ab.tar.gz
bpo-38465: Convert the type of exports counters to Py_ssize_t. (GH-16746)
Diffstat (limited to 'Modules/arraymodule.c')
-rw-r--r--Modules/arraymodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c
index 6aa981daca..5ba261819d 100644
--- a/Modules/arraymodule.c
+++ b/Modules/arraymodule.c
@@ -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;