diff options
| author | Benjamin Peterson <benjamin@python.org> | 2016-10-06 06:32:20 (GMT) |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2016-10-06 06:32:20 (GMT) |
| commit | 369d911402dcc0a7e4fa94879f70ffa4b0978dfd (patch) | |
| tree | aa74ee2b0385df68900450e481b88071ba4a37da | |
| parent | 578f1bd578daa3a7f993a256425236646d354fbd (diff) | |
| parent | e4c222c040eb23cabaf97fd08a7f4a294efb8b65 (diff) | |
| download | cpython-369d911402dcc0a7e4fa94879f70ffa4b0978dfd.zip cpython-369d911402dcc0a7e4fa94879f70ffa4b0978dfd.tar.gz cpython-369d911402dcc0a7e4fa94879f70ffa4b0978dfd.tar.bz2 | |
merge 3.6
| -rw-r--r-- | Modules/mmapmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c index da68447..5f1615f 100644 --- a/Modules/mmapmodule.c +++ b/Modules/mmapmodule.c @@ -267,7 +267,7 @@ static PyObject * mmap_read_method(mmap_object *self, PyObject *args) { - Py_ssize_t num_bytes, remaining; + Py_ssize_t num_bytes = PY_SSIZE_T_MAX, remaining; PyObject *result; CHECK_VALID(NULL); |
