summaryrefslogtreecommitdiffstats
path: root/Modules/mmapmodule.c
diff options
context:
space:
mode:
authorHai Shi <shihai1992@gmail.com>2019-10-21 06:31:46 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2019-10-21 06:31:46 (GMT)
commit06cd5b6acd98205adae1a3ea4223e88f38ad55ab (patch)
treed4885a7094f79264d7a714c3b5f8d4cad813d16f /Modules/mmapmodule.c
parent74142078b3b78fea7b4cd791e5c577c0c0964eb7 (diff)
downloadcpython-06cd5b6acd98205adae1a3ea4223e88f38ad55ab.zip
cpython-06cd5b6acd98205adae1a3ea4223e88f38ad55ab.tar.gz
cpython-06cd5b6acd98205adae1a3ea4223e88f38ad55ab.tar.bz2
bpo-38465: Convert the type of exports counters to Py_ssize_t. (GH-16746)
Diffstat (limited to 'Modules/mmapmodule.c')
-rw-r--r--Modules/mmapmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c
index a3b9e4d..a5c0ae0 100644
--- a/Modules/mmapmodule.c
+++ b/Modules/mmapmodule.c
@@ -97,7 +97,7 @@ typedef struct {
#else
off_t offset;
#endif
- int exports;
+ Py_ssize_t exports;
#ifdef MS_WINDOWS
HANDLE map_handle;