diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-10-06 06:32:15 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-10-06 06:32:15 (GMT) |
commit | e4c222c040eb23cabaf97fd08a7f4a294efb8b65 (patch) | |
tree | 807b1a44fd76a7b4f01a304ef53eb16dbe2b28b4 /Modules/mmapmodule.c | |
parent | 43441c77b5fd9617d7baff1cf3bbc072fef6035b (diff) | |
parent | 8f1cdc65ee9db0040d031f7da6284cc72d44c9ba (diff) | |
download | cpython-e4c222c040eb23cabaf97fd08a7f4a294efb8b65.zip cpython-e4c222c040eb23cabaf97fd08a7f4a294efb8b65.tar.gz cpython-e4c222c040eb23cabaf97fd08a7f4a294efb8b65.tar.bz2 |
merge 3.5
Diffstat (limited to 'Modules/mmapmodule.c')
-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); |