diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/arraymodule.c | 2 | ||||
-rw-r--r-- | Modules/mmapmodule.c | 2 |
2 files changed, 2 insertions, 2 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; diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c index a3b9e4df95..a5c0ae0eaf 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; |