summaryrefslogtreecommitdiffstats
path: root/Modules/mmapmodule.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-08-22 13:56:56 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-08-22 13:56:56 (GMT)
commit670f875a7cccfb3b63196bb560a8dd3cf5950ad9 (patch)
tree00a6e0286ae81c756fee8d0ac627115ac67d6195 /Modules/mmapmodule.c
parentc85578725bd3aeccfb1e8d55f84057c3cfbb0f54 (diff)
downloadcpython-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.c2
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 *