diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-08-22 13:56:56 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-08-22 13:56:56 (GMT) |
commit | 670f875a7cccfb3b63196bb560a8dd3cf5950ad9 (patch) | |
tree | 00a6e0286ae81c756fee8d0ac627115ac67d6195 /Modules/mmapmodule.c | |
parent | c85578725bd3aeccfb1e8d55f84057c3cfbb0f54 (diff) | |
download | cpython-670f875a7cccfb3b63196bb560a8dd3cf5950ad9.zip cpython-670f875a7cccfb3b63196bb560a8dd3cf5950ad9.tar.gz cpython-670f875a7cccfb3b63196bb560a8dd3cf5950ad9.tar.bz2 |
Alexander Belopolsky pointed out that pos is a size_t
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 b8dd02d..091ecd6 100644 --- a/Modules/mmapmodule.c +++ b/Modules/mmapmodule.c @@ -470,7 +470,7 @@ static PyObject * mmap_tell_method(mmap_object *self, PyObject *unused) { CHECK_VALID(NULL); - return PyInt_FromSsize_t(self->pos); + return PyInt_FromSize_t(self->pos); } static PyObject * |